diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-10 02:28:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-10 17:57:38 -0500 |
commit | 52811d8c9beb67da6bc4b770de3c4134376788a1 (patch) | |
tree | 78af57cf32140f22d232450b7cd1c5b042e13765 /arch | |
parent | 493f6ca54e1ea59732dd334e35c5fe2d8e440b06 (diff) |
x86: smp.h move cpu_sibling_setup_mask and cpu_sibling_setup_map declartion to cpumask.h
Impact: cleanup
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/cpumask.h | 3 | ||||
-rw-r--r-- | arch/x86/include/asm/smp.h | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/arch/x86/include/asm/cpumask.h b/arch/x86/include/asm/cpumask.h index d4cfd120b84d..26c6dad90479 100644 --- a/arch/x86/include/asm/cpumask.h +++ b/arch/x86/include/asm/cpumask.h | |||
@@ -8,16 +8,19 @@ | |||
8 | extern cpumask_var_t cpu_callin_mask; | 8 | extern cpumask_var_t cpu_callin_mask; |
9 | extern cpumask_var_t cpu_callout_mask; | 9 | extern cpumask_var_t cpu_callout_mask; |
10 | extern cpumask_var_t cpu_initialized_mask; | 10 | extern cpumask_var_t cpu_initialized_mask; |
11 | extern cpumask_var_t cpu_sibling_setup_mask; | ||
11 | 12 | ||
12 | #else /* CONFIG_X86_32 */ | 13 | #else /* CONFIG_X86_32 */ |
13 | 14 | ||
14 | extern cpumask_t cpu_callin_map; | 15 | extern cpumask_t cpu_callin_map; |
15 | extern cpumask_t cpu_callout_map; | 16 | extern cpumask_t cpu_callout_map; |
16 | extern cpumask_t cpu_initialized; | 17 | extern cpumask_t cpu_initialized; |
18 | extern cpumask_t cpu_sibling_setup_map; | ||
17 | 19 | ||
18 | #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map) | 20 | #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map) |
19 | #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map) | 21 | #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map) |
20 | #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) | 22 | #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) |
23 | #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map) | ||
21 | 24 | ||
22 | #endif /* CONFIG_X86_32 */ | 25 | #endif /* CONFIG_X86_32 */ |
23 | 26 | ||
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 7d2a80319e82..a8cea7b09434 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h | |||
@@ -19,18 +19,6 @@ | |||
19 | #include <asm/thread_info.h> | 19 | #include <asm/thread_info.h> |
20 | #include <asm/cpumask.h> | 20 | #include <asm/cpumask.h> |
21 | 21 | ||
22 | #ifdef CONFIG_X86_64 | ||
23 | |||
24 | extern cpumask_var_t cpu_sibling_setup_mask; | ||
25 | |||
26 | #else /* CONFIG_X86_32 */ | ||
27 | |||
28 | extern cpumask_t cpu_sibling_setup_map; | ||
29 | |||
30 | #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map) | ||
31 | |||
32 | #endif /* CONFIG_X86_32 */ | ||
33 | |||
34 | extern int __cpuinit get_local_pda(int cpu); | 22 | extern int __cpuinit get_local_pda(int cpu); |
35 | 23 | ||
36 | extern int smp_num_siblings; | 24 | extern int smp_num_siblings; |