summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-12-29 05:45:05 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 05:45:05 -0800
commit6caf4668db2f0dcccf78ec8f3383a8b17c3dc0f4 (patch)
tree9447d6d0bb62882629b594e3b7d808b05a2f5dc0
parent3f3a43781b570754071255349fc9ab9957aba483 (diff)
[PATCH] ia32 WP test cleanup
From: Zwane Mwaikambo <zwane@arm.linux.org.uk> Make the test unconditional - we can always run it now we have fixmap support.
-rw-r--r--arch/i386/mm/init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c
index fbb25b68cb5d..2c2e03bd8434 100644
--- a/arch/i386/mm/init.c
+++ b/arch/i386/mm/init.c
@@ -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 */