aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/smpboot_64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index 1da28c6c1f5f..f84e30da521a 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -96,7 +96,8 @@ static void __cpuinit smp_store_cpu_info(int id)
96 96
97 *c = boot_cpu_data; 97 *c = boot_cpu_data;
98 c->cpu_index = id; 98 c->cpu_index = id;
99 identify_cpu(c); 99 if (id != 0)
100 identify_secondary_cpu(c);
100} 101}
101 102
102static inline void wait_for_init_deassert(atomic_t *deassert) 103static inline void wait_for_init_deassert(atomic_t *deassert)