patch-2.1.33 linux/arch/i386/mm/fault.c

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

diff -u --recursive --new-file v2.1.32/linux/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
@@ -187,11 +187,10 @@
  *
  * First we check if it was the bootup rw-test, though..
  */
-	if (wp_works_ok < 0 && !address && (error_code & 1)) {
+	if (wp_works_ok < 0 && address == 0xc0000000 && (error_code & 1)) {
 		wp_works_ok = 1;
 		pg0[0] = pte_val(mk_pte(0, PAGE_SHARED));
 		flush_tlb();
-		printk("This processor honours the WP bit even when in supervisor mode. Good.\n");
 		goto out;
 	}
 	if (address < PAGE_SIZE) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov