diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-01-27 04:56:47 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-27 04:56:47 +0100 |
commit | 6470aff619fbb9dff8dfe8afa5033084cd55ca20 (patch) | |
tree | c5734a7afc33ef665b1cacc3a715ab7e0c85787a /arch/x86/include/asm/topology.h | |
parent | x86: merge setup_per_cpu_maps() into setup_per_cpu_areas() (diff) | |
download | linux-6470aff619fbb9dff8dfe8afa5033084cd55ca20.tar.xz linux-6470aff619fbb9dff8dfe8afa5033084cd55ca20.zip |
x86: move 64-bit NUMA code
Impact: Code movement, no functional change.
Move the 64-bit NUMA code from setup_percpu.c to numa_64.c
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-rw-r--r-- | arch/x86/include/asm/topology.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 10022ed3a4b6..77cfb2cfb386 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h @@ -74,6 +74,8 @@ static inline const struct cpumask *cpumask_of_node(int node) return &node_to_cpumask_map[node]; } +static inline void setup_node_to_cpumask_map(void) { } + #else /* CONFIG_X86_64 */ /* Mappings between node number and cpus on that node. */ @@ -120,6 +122,8 @@ static inline cpumask_t node_to_cpumask(int node) #endif /* !CONFIG_DEBUG_PER_CPU_MAPS */ +extern void setup_node_to_cpumask_map(void); + /* * Replace default node_to_cpumask_ptr with optimized version * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" @@ -218,6 +222,8 @@ static inline int node_to_first_cpu(int node) return first_cpu(cpu_online_map); } +static inline void setup_node_to_cpumask_map(void) { } + /* * Replace default node_to_cpumask_ptr with optimized version * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" |