aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numa.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-05-02 11:24:48 -0400
committerTejun Heo <tj@kernel.org>2011-05-02 11:24:48 -0400
commit752d4f372f90a2f6eb562aaffb639957890cbcab (patch)
treeb2efc31cea03d00f806e5eed37ffd7fb17db0ee7 /arch/x86/include/asm/numa.h
parentbd6709a91a593d8fe35d08da542e9f93bb74a304 (diff)
x86, NUMA: Make numa_init_array() static
numa_init_array() no longer has users outside of numa.c. Make it static. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/numa.h')
-rw-r--r--arch/x86/include/asm/numa.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/numa.h b/arch/x86/include/asm/numa.h
index 74540865dd83..bfacd2ccf651 100644
--- a/arch/x86/include/asm/numa.h
+++ b/arch/x86/include/asm/numa.h
@@ -61,14 +61,12 @@ static inline int numa_cpu_node(int cpu)
61#ifdef CONFIG_NUMA 61#ifdef CONFIG_NUMA
62extern void __cpuinit numa_set_node(int cpu, int node); 62extern void __cpuinit numa_set_node(int cpu, int node);
63extern void __cpuinit numa_clear_node(int cpu); 63extern void __cpuinit numa_clear_node(int cpu);
64extern void __init numa_init_array(void);
65extern void __init init_cpu_to_node(void); 64extern void __init init_cpu_to_node(void);
66extern void __cpuinit numa_add_cpu(int cpu); 65extern void __cpuinit numa_add_cpu(int cpu);
67extern void __cpuinit numa_remove_cpu(int cpu); 66extern void __cpuinit numa_remove_cpu(int cpu);
68#else /* CONFIG_NUMA */ 67#else /* CONFIG_NUMA */
69static inline void numa_set_node(int cpu, int node) { } 68static inline void numa_set_node(int cpu, int node) { }
70static inline void numa_clear_node(int cpu) { } 69static inline void numa_clear_node(int cpu) { }
71static inline void numa_init_array(void) { }
72static inline void init_cpu_to_node(void) { } 70static inline void init_cpu_to_node(void) { }
73static inline void numa_add_cpu(int cpu) { } 71static inline void numa_add_cpu(int cpu) { }
74static inline void numa_remove_cpu(int cpu) { } 72static inline void numa_remove_cpu(int cpu) { }