Skip to content

Commit

Permalink
x86: numa_64.c make local variables static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Jul 8, 2008
1 parent f307d25 commit 864fc31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/x86/mm/numa_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
EXPORT_SYMBOL(node_data);

bootmem_data_t plat_node_bdata[MAX_NUMNODES];
static bootmem_data_t plat_node_bdata[MAX_NUMNODES];

struct memnode memnode;

Expand All @@ -36,8 +36,8 @@ s16 apicid_to_node[MAX_LOCAL_APIC] __cpuinitdata = {
};

int numa_off __initdata;
unsigned long __initdata nodemap_addr;
unsigned long __initdata nodemap_size;
static unsigned long __initdata nodemap_addr;
static unsigned long __initdata nodemap_size;

/*
* Given a shift value, try to populate memnodemap[]
Expand Down Expand Up @@ -296,7 +296,7 @@ void __init numa_init_array(void)

#ifdef CONFIG_NUMA_EMU
/* Numa emulation */
char *cmdline __initdata;
static char *cmdline __initdata;

/*
* Setups up nid to range from addr to addr + size. If the end
Expand Down

0 comments on commit 864fc31

Please sign in to comment.