aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r--arch/x86/kernel/smpboot_64.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index f84e30da521a..c213345ca2f5 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -85,21 +85,6 @@ struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
85#define set_idle_for_cpu(x,p) (idle_thread_array[(x)] = (p)) 85#define set_idle_for_cpu(x,p) (idle_thread_array[(x)] = (p))
86#endif 86#endif
87 87
88/*
89 * The bootstrap kernel entry code has set these up. Save them for
90 * a given CPU
91 */
92
93static void __cpuinit smp_store_cpu_info(int id)
94{
95 struct cpuinfo_x86 *c = &cpu_data(id);
96
97 *c = boot_cpu_data;
98 c->cpu_index = id;
99 if (id != 0)
100 identify_secondary_cpu(c);
101}
102
103static inline void wait_for_init_deassert(atomic_t *deassert) 88static inline void wait_for_init_deassert(atomic_t *deassert)
104{ 89{
105 while (!atomic_read(deassert)) 90 while (!atomic_read(deassert))