diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:00 -0400 |
commit | 1d89a7f072d4f76f0538edfb474d527066ee7838 (patch) | |
tree | 8d9ae2788f90923a3c31c5fc6b8400b2387c416a /include | |
parent | f7401f7fe653f90f8f80a241840b9b499779e87d (diff) |
x86: merge smp_store_cpu_info
now that it is the same between arches, put it into smpboot.c
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.h | 2 | ||||
-rw-r--r-- | include/asm-x86/smp_32.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 4dc271b43767..b4c5143d7f8d 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -88,6 +88,8 @@ extern void prefill_possible_map(void); | |||
88 | 88 | ||
89 | #define SMP_TRAMPOLINE_BASE 0x6000 | 89 | #define SMP_TRAMPOLINE_BASE 0x6000 |
90 | extern unsigned long setup_trampoline(void); | 90 | extern unsigned long setup_trampoline(void); |
91 | |||
92 | void smp_store_cpu_info(int id); | ||
91 | #endif | 93 | #endif |
92 | 94 | ||
93 | #ifdef CONFIG_X86_32 | 95 | #ifdef CONFIG_X86_32 |
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h index 76740def6092..51624abda43a 100644 --- a/include/asm-x86/smp_32.h +++ b/include/asm-x86/smp_32.h | |||
@@ -42,8 +42,6 @@ DECLARE_PER_CPU(int, cpu_number); | |||
42 | 42 | ||
43 | extern int safe_smp_processor_id(void); | 43 | extern int safe_smp_processor_id(void); |
44 | 44 | ||
45 | void __cpuinit smp_store_cpu_info(int id); | ||
46 | |||
47 | /* We don't mark CPUs online until __cpu_up(), so we need another measure */ | 45 | /* We don't mark CPUs online until __cpu_up(), so we need another measure */ |
48 | static inline int num_booting_cpus(void) | 46 | static inline int num_booting_cpus(void) |
49 | { | 47 | { |