From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 17:25:04 +0000 (-0300) Subject: x86: call identify_secondary_cpu in smp_store_cpu_info X-Git-Tag: v2.6.26-rc1~1154^2~393 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f7401f7fe653f90f8f80a241840b9b499779e87d;p=linux-2.6-omap-h63xx.git x86: call identify_secondary_cpu in smp_store_cpu_info Call it conditionally for secondary cpus. This behaviour matches i386 Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c index 1da28c6c1f5..f84e30da521 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)