diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-24 12:24:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-29 19:22:22 -0400 |
commit | fb8c177fe04c81ef5abe603e01d51eafa02d903a (patch) | |
tree | 03440f90440f7f80f31f2d986c93b06b958a9385 | |
parent | f1aa14b2e930a6dfab888ded1a2a951a0ff279dc (diff) |
x86: mm/discontig_32.c: make code static
node0_bdata and paddr_to_nid() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/mm/discontig_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c index fe608a45ffb6..13a474d3c6e9 100644 --- a/arch/x86/mm/discontig_32.c +++ b/arch/x86/mm/discontig_32.c | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; | 41 | struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; |
42 | EXPORT_SYMBOL(node_data); | 42 | EXPORT_SYMBOL(node_data); |
43 | bootmem_data_t node0_bdata; | 43 | static bootmem_data_t node0_bdata; |
44 | 44 | ||
45 | /* | 45 | /* |
46 | * numa interface - we expect the numa architecture specific code to have | 46 | * numa interface - we expect the numa architecture specific code to have |
@@ -404,7 +404,7 @@ void __init set_highmem_pages_init(int bad_ppro) | |||
404 | } | 404 | } |
405 | 405 | ||
406 | #ifdef CONFIG_MEMORY_HOTPLUG | 406 | #ifdef CONFIG_MEMORY_HOTPLUG |
407 | int paddr_to_nid(u64 addr) | 407 | static int paddr_to_nid(u64 addr) |
408 | { | 408 | { |
409 | int nid; | 409 | int nid; |
410 | unsigned long pfn = PFN_DOWN(addr); | 410 | unsigned long pfn = PFN_DOWN(addr); |