patch-1.3.24 linux/mm/mprotect.c
Next file: linux/mm/swap.c
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 4 12:30:19 1995
- Orig file:
v1.3.23/linux/mm/mprotect.c
- Orig date:
Sun Sep 3 12:27:04 1995
diff -u --recursive --new-file v1.3.23/linux/mm/mprotect.c linux/mm/mprotect.c
@@ -73,7 +73,7 @@
{
pgd_t *dir;
- dir = pgd_offset(current, start);
+ dir = pgd_offset(current->mm, start);
while (start < end) {
change_pmd_range(dir, start, end - start, newprot);
start = (start + PGDIR_SIZE) & PGDIR_MASK;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this