patch-1.3.22 linux/mm/mprotect.c
Next file: linux/mm/swap.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 29 09:42:56 1995
- Orig file:
v1.3.21/linux/mm/mprotect.c
- Orig date:
Tue May 30 12:17:18 1995
diff -u --recursive --new-file v1.3.21/linux/mm/mprotect.c linux/mm/mprotect.c
@@ -38,7 +38,7 @@
do {
pte_t entry = *pte;
if (pte_present(entry))
- *pte = pte_modify(entry, newprot);
+ set_pte(pte, pte_modify(entry, newprot));
address += PAGE_SIZE;
pte++;
} while (address < end);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this