i386: eliminate duplicate consistency checks
PATCH 1/1 i386: eliminate duplicate consistency checks
Signed-off-by Jan Beulich <[email protected]>
--- arch/x86/mm/init_32.c | 13 ------------- 1 file changed, 13 deletions(-)
arch/x86/mm/init_32.c +0 -13
@@ -576,17 +576,6 @@ void __init mem_init(void)#endif bad_ppro =ppro_with_ram_bug (); -#ifdef CONFIG_HIGHMEM -/* check that fixmap and pkmap do not overlap */ -if (PKMAP_BASE +LAST_PKMAP *PAGE_SIZE >=FIXADDR_START ) { -printk (KERN_ERR -"fixmap and kmap areas overlap - this will crash\n" ); -printk (KERN_ERR "pkstart: %lxh pkend: %lxh fixstart %lxh\n" , -PKMAP_BASE ,PKMAP_BASE +LAST_PKMAP *PAGE_SIZE , -FIXADDR_START ); -BUG (); - } -#endif /* this will put all low memory onto the freelists */ totalram_pages +=free_all_bootmem ();
@@ -619,7 +608,6 @@ void __init mem_init(void) (unsigned long ) (totalhigh_pages << (PAGE_SHIFT -10 )) ); -#if 1 /* double-sanity-check paranoia */ printk(KERN_INFO "virtual kernel memory layout:\n" " fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n"#ifdef CONFIG_HIGHMEM
@@ -660,7 +648,6 @@ void __init mem_init(void)#endif BUG_ON (VMALLOC_START >VMALLOC_END );BUG_ON ((unsigned long )high_memory >VMALLOC_START ); -#endif /* double-sanity-check paranoia */ if (boot_cpu_data.wp_works_ok <0 )test_wp_bit ();