X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86_64%2Fmm%2Finit.c;h=b6a826d6c18226fa28afdbde0e0b7aab9e223284;hp=5659d979316dd5349c57b6d7d5a1f68a105e936a;hb=b9aac10dddd927f0b9cfcca19a272ded87015574;hpb=0a43e4bf7489074c667f24b9670ecd88f6eb0a07 diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index 5659d979316d..b6a826d6c182 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86_64/mm/init.c @@ -411,11 +411,6 @@ void __init mem_init(void) #ifdef CONFIG_NUMA totalram_pages = numa_free_all_bootmem(); #else - -#ifdef CONFIG_FLATMEM - max_mapnr = end_pfn; - if (!mem_map) BUG(); -#endif totalram_pages = free_all_bootmem(); #endif reservedpages = end_pfn - totalram_pages - e820_hole_size(0, end_pfn);