|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] (no subject)
ChangeSet 1.1347, 2005/04/21 01:05:05+01:00, iap10@xxxxxxxxxxxxxxxxxxx
__vmxon() is called twice for the boot cpu, because identify_cpu() is
called
twice. This patch ensures that identify_cpu() and hence __vmxon() is
called
exactly once for the boot CPU on SMP.
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>
Signed-off-by: ian@xxxxxxxxxxxxx
smpboot.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c 2005-04-20 21:03:10 -04:00
+++ b/xen/arch/x86/smpboot.c 2005-04-20 21:03:10 -04:00
@@ -115,7 +115,8 @@
void __init smp_store_cpu_info(int id)
{
cpu_data[id] = boot_cpu_data;
- identify_cpu(&cpu_data[id]);
+ if (id != 0)
+ identify_cpu(&cpu_data[id]);
}
/*
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] (no subject),
BitKeeper Bot <=
|
|
|
|
|