X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=mm%2Fnobootmem.c;h=e99f6cd1da1fccbb1756782c2218a75623b61b2f;hb=6845664a6a7d443f03883db59d10749d38d98b8e;hp=e2bdb07079cee8d67b7e1eb771fec6d509045145;hpb=6899608533410557e6698cb9d4ff6df553916e98;p=firefly-linux-kernel-4.4.55.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index e2bdb07079ce..e99f6cd1da1f 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -32,14 +32,6 @@ unsigned long max_low_pfn; unsigned long min_low_pfn; unsigned long max_pfn; -#ifdef CONFIG_CRASH_DUMP -/* - * If we have booted due to a crash, max_pfn will be a very low value. We need - * to know the amount of memory that the previous kernel used. - */ -unsigned long saved_max_pfn; -#endif - static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, u64 goal, u64 limit) {