patch-1.3.22 linux/arch/mips/kernel/ptrace.c
Next file: linux/arch/mips/mm/init.c
Previous file: linux/arch/mips/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 29 09:42:57 1995
- Orig file:
v1.3.21/linux/arch/mips/kernel/ptrace.c
- Orig date:
Tue Jul 18 16:28:56 1995
diff -u --recursive --new-file v1.3.21/linux/arch/mips/kernel/ptrace.c linux/arch/mips/kernel/ptrace.c
@@ -156,7 +156,7 @@
}
/* we're bypassing pagetables, so we have to set the dirty bit ourselves */
/* this should also re-instate whatever read-only mode there was before */
- *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot));
+ set_pte(pgtable, pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
invalidate();
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this