patch-1.3.22 linux/arch/i386/kernel/vm86.c

Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/arch/i386/kernel/vm86.c linux/arch/i386/kernel/vm86.c
@@ -93,7 +93,7 @@
 	pte = pte_offset(pmd, 0xA0000);
 	for (i = 0; i < 32; i++) {
 		if (pte_present(*pte))
-			*pte = pte_wrprotect(*pte);
+			set_pte(pte, pte_wrprotect(*pte));
 		pte++;
 	}
 	invalidate();

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