From: David S. Miller Date: Fri, 27 Apr 2012 17:55:08 +0000 (-0700) Subject: sparc64: Do not set max_mapnr. X-Git-Tag: v3.5-rc1~190^2~101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=799d40cc108b45d74325c10841114fc6449631b7;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git sparc64: Do not set max_mapnr. There is no need, since nothing relevant to sparc64 makes use of this value. Noticed by Sam Ravnborg. Signed-off-by: David S. Miller --- diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index def9223..067a677 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c @@ -1751,9 +1751,6 @@ void __init paging_init(void) /* Setup bootmem... */ last_valid_pfn = end_pfn = bootmem_init(phys_base); -#ifndef CONFIG_NEED_MULTIPLE_NODES - max_mapnr = last_valid_pfn; -#endif /* Once the OF device tree and MDESC have been setup, we know * the list of possible cpus. Therefore we can allocate the * IRQ stacks.