x86: set_highmem_pages_init() cleanup, fix !CONFIG_NUMA && CONFIG_HIGHMEM=y
authorIngo Molnar <mingo@elte.hu>
Tue, 3 Mar 2009 14:32:24 +0000 (15:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Mar 2009 14:32:24 +0000 (15:32 +0100)
Impact: build fix

 arch/x86/mm/highmem_32.c:187: error: static declaration of 'set_highmem_pages_init' follows non-static declaration
 arch/x86/include/asm/numa_32.h:8: error: previous declaration of 'set_highmem_pages_init' was here

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1236082212.2675.24.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/highmem_32.c

index 13a823cf564c58ed68e67476620cee9cad5d06d4..00f127c80b0e38fa50eec531e8e85c8d1f18fd6d 100644 (file)
@@ -183,7 +183,7 @@ void __init set_highmem_pages_init(void)
        totalram_pages += totalhigh_pages;
 }
 #else
-static void __init set_highmem_pages_init(void)
+void __init set_highmem_pages_init(void)
 {
        add_highpages_with_active_regions(0, highstart_pfn, highend_pfn);