diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-03 09:32:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-03 09:32:24 -0500 |
commit | 03787ceed8f7bf06af29f3b213017d89f8e9423d (patch) | |
tree | 3579a14629df338b175694e62443337906a8033c | |
parent | 867c5b5292583b1e474cbbcb4c77f09bfca3903c (diff) |
x86: set_highmem_pages_init() cleanup, fix !CONFIG_NUMA && CONFIG_HIGHMEM=y
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>
-rw-r--r-- | arch/x86/mm/highmem_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c index 13a823cf564c..00f127c80b0e 100644 --- a/arch/x86/mm/highmem_32.c +++ b/arch/x86/mm/highmem_32.c | |||
@@ -183,7 +183,7 @@ void __init set_highmem_pages_init(void) | |||
183 | totalram_pages += totalhigh_pages; | 183 | totalram_pages += totalhigh_pages; |
184 | } | 184 | } |
185 | #else | 185 | #else |
186 | static void __init set_highmem_pages_init(void) | 186 | void __init set_highmem_pages_init(void) |
187 | { | 187 | { |
188 | add_highpages_with_active_regions(0, highstart_pfn, highend_pfn); | 188 | add_highpages_with_active_regions(0, highstart_pfn, highend_pfn); |
189 | 189 | ||