aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:12:40 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:53 -0400
commit93b016f8f393c1f8c27e8c4df06ad1420fac65f5 (patch)
treeb1babe0c20a4c9eae4ac7847487f4a386d8db8bc /include/asm-x86/smp.h
parentc559764923dacef301116a248695856e6eb96e48 (diff)
x86: move disabled_cpus to common header
disabled_cpus is (up to now) a x86_64-only contruction. But it's extern declaration can be moved to common header anyway 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index 9620165d3b78..be8a511fdb1d 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -2,6 +2,7 @@
2#define _ASM_X86_SMP_H_ 2#define _ASM_X86_SMP_H_
3#ifndef __ASSEMBLY__ 3#ifndef __ASSEMBLY__
4#include <linux/cpumask.h> 4#include <linux/cpumask.h>
5#include <linux/init.h>
5 6
6extern cpumask_t cpu_callout_map; 7extern cpumask_t cpu_callout_map;
7 8
@@ -60,6 +61,8 @@ void native_smp_prepare_boot_cpu(void);
60void native_smp_prepare_cpus(unsigned int max_cpus); 61void native_smp_prepare_cpus(unsigned int max_cpus);
61void native_smp_cpus_done(unsigned int max_cpus); 62void native_smp_cpus_done(unsigned int max_cpus);
62int native_cpu_up(unsigned int cpunum); 63int native_cpu_up(unsigned int cpunum);
64
65extern unsigned disabled_cpus;
63#endif 66#endif
64 67
65#ifdef CONFIG_X86_32 68#ifdef CONFIG_X86_32