summaryrefslogtreecommitdiffstats
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)
*c = boot_cpu_data;
c->cpu_index = id;
- identify_cpu(c);
+ if (id != 0)
+ identify_secondary_cpu(c);
}
static inline void wait_for_init_deassert(atomic_t *deassert)
OpenPOWER on IntegriCloud