diff options
-rw-r--r-- | include/asm-x86/smp.h | 6 | ||||
-rw-r--r-- | include/asm-x86/smp_32.h | 4 | ||||
-rw-r--r-- | include/asm-x86/smp_64.h | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index ad7b99dda0dc..c130a87c956d 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -1,6 +1,12 @@ | |||
1 | #ifndef _ASM_X86_SMP_H_ | 1 | #ifndef _ASM_X86_SMP_H_ |
2 | #define _ASM_X86_SMP_H_ | 2 | #define _ASM_X86_SMP_H_ |
3 | #ifndef __ASSEMBLY__ | 3 | #ifndef __ASSEMBLY__ |
4 | #include <linux/cpumask.h> | ||
5 | |||
6 | extern cpumask_t cpu_callout_map; | ||
7 | |||
8 | extern int smp_num_siblings; | ||
9 | extern unsigned int num_processors; | ||
4 | 10 | ||
5 | #ifdef CONFIG_X86_32 | 11 | #ifdef CONFIG_X86_32 |
6 | # include "smp_32.h" | 12 | # include "smp_32.h" |
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h index 27812258ac6d..9a4057d94367 100644 --- a/include/asm-x86/smp_32.h +++ b/include/asm-x86/smp_32.h | |||
@@ -16,12 +16,8 @@ | |||
16 | # endif | 16 | # endif |
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | extern cpumask_t cpu_callout_map; | ||
20 | extern cpumask_t cpu_callin_map; | 19 | extern cpumask_t cpu_callin_map; |
21 | 20 | ||
22 | extern int smp_num_siblings; | ||
23 | extern unsigned int num_processors; | ||
24 | |||
25 | extern void (*mtrr_hook) (void); | 21 | extern void (*mtrr_hook) (void); |
26 | extern void zap_low_mappings (void); | 22 | extern void zap_low_mappings (void); |
27 | 23 | ||
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h index 2c21df289da4..284f701f2a8b 100644 --- a/include/asm-x86/smp_64.h +++ b/include/asm-x86/smp_64.h | |||
@@ -13,12 +13,8 @@ | |||
13 | #include <asm/pda.h> | 13 | #include <asm/pda.h> |
14 | #include <asm/thread_info.h> | 14 | #include <asm/thread_info.h> |
15 | 15 | ||
16 | extern cpumask_t cpu_callout_map; | ||
17 | extern cpumask_t cpu_initialized; | 16 | extern cpumask_t cpu_initialized; |
18 | 17 | ||
19 | extern int smp_num_siblings; | ||
20 | extern unsigned int num_processors; | ||
21 | |||
22 | extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), | 18 | extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), |
23 | void *info, int wait); | 19 | void *info, int wait); |
24 | 20 | ||