diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-01-27 12:56:47 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-27 12:56:47 +0900 |
commit | 2f2f52bad72f5e1ca5d1b9ad00a7b57a8cbd9159 (patch) | |
tree | a371346bf27fcceb156676cab2b6311c14b388ed /arch/x86/include/asm/cpumask.h | |
parent | 6470aff619fbb9dff8dfe8afa5033084cd55ca20 (diff) |
x86: move setup_cpu_local_masks()
Impact: Code movement, no functional change.
Move setup_cpu_local_masks() to kernel/cpu/common.c, where the
masks are defined.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/cpumask.h')
-rw-r--r-- | arch/x86/include/asm/cpumask.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpumask.h b/arch/x86/include/asm/cpumask.h index 26c6dad9047..a7f3c75f8ad 100644 --- a/arch/x86/include/asm/cpumask.h +++ b/arch/x86/include/asm/cpumask.h @@ -10,6 +10,8 @@ extern cpumask_var_t cpu_callout_mask; extern cpumask_var_t cpu_initialized_mask; extern cpumask_var_t cpu_sibling_setup_mask; +extern void setup_cpu_local_masks(void); + #else /* CONFIG_X86_32 */ extern cpumask_t cpu_callin_map; @@ -22,6 +24,8 @@ extern cpumask_t cpu_sibling_setup_map; #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map) +static inline void setup_cpu_local_masks(void) { } + #endif /* CONFIG_X86_32 */ #endif /* __ASSEMBLY__ */ |