diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:00 -0400 |
commit | 7e1efc0cde2a266fc31932ea7aed4bb20f524544 (patch) | |
tree | 56b224702dcd6fb3771973378d840caa9777d882 /include/asm-x86/smp.h | |
parent | 8154fa3740d2bbc64aa46e75bcccb71dd82280d3 (diff) |
x86: unify extern masks declaration
take them off smp_{32,64}.h and move to smp.h
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index b4c5143d7f8d..d02e6eacee39 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -3,12 +3,24 @@ | |||
3 | #ifndef __ASSEMBLY__ | 3 | #ifndef __ASSEMBLY__ |
4 | #include <linux/cpumask.h> | 4 | #include <linux/cpumask.h> |
5 | #include <linux/init.h> | 5 | #include <linux/init.h> |
6 | #include <asm/percpu.h> | ||
6 | 7 | ||
7 | extern cpumask_t cpu_callout_map; | 8 | extern cpumask_t cpu_callout_map; |
8 | 9 | ||
9 | extern int smp_num_siblings; | 10 | extern int smp_num_siblings; |
10 | extern unsigned int num_processors; | 11 | extern unsigned int num_processors; |
11 | 12 | ||
13 | extern u16 x86_cpu_to_apicid_init[]; | ||
14 | extern u16 x86_bios_cpu_apicid_init[]; | ||
15 | extern void *x86_cpu_to_apicid_early_ptr; | ||
16 | extern void *x86_bios_cpu_apicid_early_ptr; | ||
17 | |||
18 | DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); | ||
19 | DECLARE_PER_CPU(cpumask_t, cpu_core_map); | ||
20 | DECLARE_PER_CPU(u16, cpu_llc_id); | ||
21 | DECLARE_PER_CPU(u16, x86_cpu_to_apicid); | ||
22 | DECLARE_PER_CPU(u16, x86_bios_cpu_apicid); | ||
23 | |||
12 | /* | 24 | /* |
13 | * Trampoline 80x86 program as an array. | 25 | * Trampoline 80x86 program as an array. |
14 | */ | 26 | */ |