patch-1.3.83 linux/arch/i386/mm/init.c

Next file: linux/drivers/char/Config.in
Previous file: linux/arch/i386/mm/fault.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.82/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -193,7 +193,7 @@
 			address += PAGE_SIZE;
 		}
 	}
-	invalidate();
+	flush_tlb();
 	return free_area_init(start_mem, end_mem);
 }
 
@@ -267,10 +267,10 @@
 /* test if the WP bit is honoured in supervisor mode */
 	if (wp_works_ok < 0) {
 		pg0[0] = pte_val(mk_pte(0, PAGE_READONLY));
-		invalidate();
+		flush_tlb();
 		__asm__ __volatile__("movb 0,%%al ; movb %%al,0": : :"ax", "memory");
 		pg0[0] = 0;
-		invalidate();
+		flush_tlb();
 		if (wp_works_ok < 0)
 			wp_works_ok = 0;
 	}

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