aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:12:42 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:53 -0400
commit68a1c3f8cd893f5c3c1396fec5be7d8acac4fc93 (patch)
tree9e68b2943f67912535b649a45a659ee1fc076aa2 /include
parent7b1292e2371e3ae2ac69fbb899d539ddc7b53a27 (diff)
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 be8a511fdb1d..28cb1f8bb47e 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);
63int native_cpu_up(unsigned int cpunum); 63int native_cpu_up(unsigned int cpunum);
64 64
65extern unsigned disabled_cpus; 65extern unsigned disabled_cpus;
66extern void prefill_possible_map(void);
66#endif 67#endif
67 68
68#ifdef CONFIG_X86_32 69#ifdef CONFIG_X86_32
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index c7a00caa6ec6..e5bc1be70827 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)
43 43
44extern int __cpu_disable(void); 44extern int __cpu_disable(void);
45extern void __cpu_die(unsigned int cpu); 45extern void __cpu_die(unsigned int cpu);
46extern void prefill_possible_map(void);
47 46
48#define raw_smp_processor_id() read_pda(cpunumber) 47#define raw_smp_processor_id() read_pda(cpunumber)
49#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) 48#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)