Commit 864fc31e authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

x86: numa_64.c make local variables static

plat_node_bdata, cmdline, nodemap_addr, nodemap_size are local to
numa_64.c. Make them static
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f307d25e
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,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 plat_node_bdata[MAX_NUMNODES]; static bootmem_data_t plat_node_bdata[MAX_NUMNODES];
struct memnode memnode; struct memnode memnode;
...@@ -36,8 +36,8 @@ s16 apicid_to_node[MAX_LOCAL_APIC] __cpuinitdata = { ...@@ -36,8 +36,8 @@ s16 apicid_to_node[MAX_LOCAL_APIC] __cpuinitdata = {
}; };
int numa_off __initdata; int numa_off __initdata;
unsigned long __initdata nodemap_addr; static unsigned long __initdata nodemap_addr;
unsigned long __initdata nodemap_size; static unsigned long __initdata nodemap_size;
/* /*
* Given a shift value, try to populate memnodemap[] * Given a shift value, try to populate memnodemap[]
...@@ -296,7 +296,7 @@ void __init numa_init_array(void) ...@@ -296,7 +296,7 @@ void __init numa_init_array(void)
#ifdef CONFIG_NUMA_EMU #ifdef CONFIG_NUMA_EMU
/* Numa emulation */ /* Numa emulation */
char *cmdline __initdata; static char *cmdline __initdata;
/* /*
* Setups up nid to range from addr to addr + size. If the end * Setups up nid to range from addr to addr + size. If the end
......
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