From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

Make the test unconditional - we can always run it now we have fixmap
support.


 arch/i386/mm/init.c |    6 ------
 1 files changed, 6 deletions(-)

diff -puN arch/i386/mm/init.c~ia32-wp-test-cleanup arch/i386/mm/init.c
--- 25/arch/i386/mm/init.c~ia32-wp-test-cleanup	2003-11-04 22:02:42.000000000 -0800
+++ 25-akpm/arch/i386/mm/init.c	2003-11-04 22:02:42.000000000 -0800
@@ -407,12 +407,6 @@ void __init paging_init(void)
 
 void __init test_wp_bit(void)
 {
-	if (cpu_has_pse) {
-		/* Ok, all PSE-capable CPUs are definitely handling the WP bit right. */
-		boot_cpu_data.wp_works_ok = 1;
-		return;
-	}
-
 	printk("Checking if this processor honours the WP bit even in supervisor mode... ");
 
 	/* Any page-aligned address will do, the test is non-destructive */

_