From 7f74246b69737bad9c3085ee2113f1e026b304d6 Mon Sep 17 00:00:00 2001 From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 14:25:04 -0300 Subject: [PATCH] --- yaml --- r: 88789 b: refs/heads/master c: f7401f7fe653f90f8f80a241840b9b499779e87d h: refs/heads/master i: 88787: 9efb037b2d09d197e4f63a4a1841a2aefd234759 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/smpboot_64.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9d31e86a84f9..1746695632cf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5745abfe86841a97fbe9e3f1e4f881a01b0c5f5b +refs/heads/master: f7401f7fe653f90f8f80a241840b9b499779e87d diff --git a/trunk/arch/x86/kernel/smpboot_64.c b/trunk/arch/x86/kernel/smpboot_64.c index 1da28c6c1f5f..f84e30da521a 100644 --- a/trunk/arch/x86/kernel/smpboot_64.c +++ b/trunk/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)