Commit fb8c177f authored by Adrian Bunk's avatar Adrian Bunk Committed by Thomas Gleixner

x86: mm/discontig_32.c: make code static

node0_bdata and paddr_to_nid() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f1aa14b2
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
EXPORT_SYMBOL(node_data); EXPORT_SYMBOL(node_data);
bootmem_data_t node0_bdata; static bootmem_data_t node0_bdata;
/* /*
* numa interface - we expect the numa architecture specific code to have * 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,7 +404,7 @@ void __init set_highmem_pages_init(int bad_ppro)
} }
#ifdef CONFIG_MEMORY_HOTPLUG #ifdef CONFIG_MEMORY_HOTPLUG
int paddr_to_nid(u64 addr) static int paddr_to_nid(u64 addr)
{ {
int nid; int nid;
unsigned long pfn = PFN_DOWN(addr); unsigned long pfn = PFN_DOWN(addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment