diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-27 13:06:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:32 -0400 |
commit | b23dab08fa37b302a8980e4cf925f2cb94288538 (patch) | |
tree | 1fed61f73d3d1be733e5e2de33acc9cbd8a21c8a /include/asm-x86/smp.h | |
parent | c1fa6c977eb978e1d09867475ec59c9a5799127f (diff) |
x86: merge includes in smp.h
move all include directives from smp_{32,64}.h 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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index e5534f19c312..21472cea3d6c 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -5,6 +5,19 @@ | |||
5 | #include <linux/init.h> | 5 | #include <linux/init.h> |
6 | #include <asm/percpu.h> | 6 | #include <asm/percpu.h> |
7 | 7 | ||
8 | /* | ||
9 | * We need the APIC definitions automatically as part of 'smp.h' | ||
10 | */ | ||
11 | #ifdef CONFIG_X86_LOCAL_APIC | ||
12 | # include <asm/mpspec.h> | ||
13 | # include <asm/apic.h> | ||
14 | # ifdef CONFIG_X86_IO_APIC | ||
15 | # include <asm/io_apic.h> | ||
16 | # endif | ||
17 | #endif | ||
18 | #include <asm/pda.h> | ||
19 | #include <asm/thread_info.h> | ||
20 | |||
8 | extern cpumask_t cpu_callout_map; | 21 | extern cpumask_t cpu_callout_map; |
9 | 22 | ||
10 | extern int smp_num_siblings; | 23 | extern int smp_num_siblings; |