summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 14:12:42 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:53 +0200
commit68a1c3f8cd893f5c3c1396fec5be7d8acac4fc93 (patch)
tree9e68b2943f67912535b649a45a659ee1fc076aa2 /include
parent7b1292e2371e3ae2ac69fbb899d539ddc7b53a27 (diff)
downloadkernel-crypto-68a1c3f8cd893f5c3c1396fec5be7d8acac4fc93.tar.gz
kernel-crypto-68a1c3f8cd893f5c3c1396fec5be7d8acac4fc93.tar.xz
kernel-crypto-68a1c3f8cd893f5c3c1396fec5be7d8acac4fc93.zip
x86: move prefill_possible_map to common file
this patches moves prefill_possible_map() to smpboot.c Right now it is x86_64-specific, but nothing intrinsically prevents it to be used by i386 Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/smp.h1
-rw-r--r--include/asm-x86/smp_64.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index be8a511fdb1..28cb1f8bb47 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -63,6 +63,7 @@ void native_smp_cpus_done(unsigned int max_cpus);
int native_cpu_up(unsigned int cpunum);
extern unsigned disabled_cpus;
+extern void prefill_possible_map(void);
#endif
#ifdef CONFIG_X86_32
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index c7a00caa6ec..e5bc1be7082 100644
--- a/include/asm-x86/smp_64.h
+++ b/include/asm-x86/smp_64.h
@@ -43,7 +43,6 @@ static inline int cpu_present_to_apicid(int mps_cpu)
extern int __cpu_disable(void);
extern void __cpu_die(unsigned int cpu);
-extern void prefill_possible_map(void);
#define raw_smp_processor_id() read_pda(cpunumber)
#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)