* [PATCH] x86_64: do not clear cpu_index set by store_cpu_info
@ 2007-10-23 10:07 Yinghai Lu
0 siblings, 0 replies; only message in thread
From: Yinghai Lu @ 2007-10-23 10:07 UTC (permalink / raw)
To: Andrew Morton, Thomas Gleixner; +Cc: LKML
[PATCH] x86_64: do not clear cpu_index set by store_cpu_info
early_indentify_cpu is called after store_cpu_info.
So don't clear the assigned cpu_index
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index e7a9e36..80ce096 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -892,7 +892,6 @@ void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
#ifdef CONFIG_SMP
c->phys_proc_id = (cpuid_ebx(1) >> 24) & 0xff;
- c->cpu_index = 0;
#endif
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-23 10:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-23 10:07 [PATCH] x86_64: do not clear cpu_index set by store_cpu_info Yinghai Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).