diff options
-rw-r--r-- | arch/x86/mm/init_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 575d86f85ce4..e537b351e8ce 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -712,7 +712,7 @@ static void __init test_wp_bit(void) | |||
712 | "Checking if this processor honours the WP bit even in supervisor mode..."); | 712 | "Checking if this processor honours the WP bit even in supervisor mode..."); |
713 | 713 | ||
714 | /* Any page-aligned address will do, the test is non-destructive */ | 714 | /* Any page-aligned address will do, the test is non-destructive */ |
715 | __set_fixmap(FIX_WP_TEST, __pa(&swapper_pg_dir), PAGE_READONLY); | 715 | __set_fixmap(FIX_WP_TEST, __pa(&swapper_pg_dir), PAGE_KERNEL_RO); |
716 | boot_cpu_data.wp_works_ok = do_test_wp_bit(); | 716 | boot_cpu_data.wp_works_ok = do_test_wp_bit(); |
717 | clear_fixmap(FIX_WP_TEST); | 717 | clear_fixmap(FIX_WP_TEST); |
718 | 718 | ||