patch-1.3.24 linux/arch/mips/kernel/ptrace.c
Next file: linux/drivers/block/Makefile
Previous file: linux/arch/i386/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Sep 4 11:27:21 1995
- Orig file:
v1.3.23/linux/arch/mips/kernel/ptrace.c
- Orig date:
Sun Sep 3 12:26:49 1995
diff -u --recursive --new-file v1.3.23/linux/arch/mips/kernel/ptrace.c linux/arch/mips/kernel/ptrace.c
@@ -89,7 +89,7 @@
unsigned long page;
repeat:
- pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr);
+ pgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr);
if (pgd_none(*pgdir)) {
do_no_page(vma, addr, 0);
goto repeat;
@@ -129,7 +129,7 @@
unsigned long page;
repeat:
- pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr);
+ pgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr);
if (!pgd_present(*pgdir)) {
do_no_page(vma, addr, 1);
goto repeat;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this