aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-12 09:43:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 05:31:28 -0400
commit864fc31ea59798905a37cd896a3e093915a3b366 (patch)
tree9b58d6dec9b848780282fa2a04ba6f3b43518a3b /arch
parentf307d25e638d3408659a2ec98fb3fd1737f7cb31 (diff)
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: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/numa_64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index 14c7ab417ec7..824344f1742f 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -27,7 +27,7 @@
27struct pglist_data *node_data[MAX_NUMNODES] __read_mostly; 27struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
28EXPORT_SYMBOL(node_data); 28EXPORT_SYMBOL(node_data);
29 29
30bootmem_data_t plat_node_bdata[MAX_NUMNODES]; 30static bootmem_data_t plat_node_bdata[MAX_NUMNODES];
31 31
32struct memnode memnode; 32struct memnode memnode;
33 33
@@ -36,8 +36,8 @@ s16 apicid_to_node[MAX_LOCAL_APIC] __cpuinitdata = {
36}; 36};
37 37
38int numa_off __initdata; 38int numa_off __initdata;
39unsigned long __initdata nodemap_addr; 39static unsigned long __initdata nodemap_addr;
40unsigned long __initdata nodemap_size; 40static unsigned long __initdata nodemap_size;
41 41
42/* 42/*
43 * Given a shift value, try to populate memnodemap[] 43 * Given a shift value, try to populate memnodemap[]
@@ -296,7 +296,7 @@ void __init numa_init_array(void)
296 296
297#ifdef CONFIG_NUMA_EMU 297#ifdef CONFIG_NUMA_EMU
298/* Numa emulation */ 298/* Numa emulation */
299char *cmdline __initdata; 299static char *cmdline __initdata;
300 300
301/* 301/*
302 * Setups up nid to range from addr to addr + size. If the end 302 * Setups up nid to range from addr to addr + size. If the end