fix-multiple-vmxon.patch
PATCH 1/1 fix-multiple-vmxon.patch
__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 <[email protected]>
Signed-off-by Arun Sharma <[email protected]>
arch/x86/smpboot.c renamed from arch/x86/smpboot.c~fix-multiple-vmxon +2 -1
@@ -114,7 +114,8 @@ void __init smp_alloc_memory(void)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]); }/*
_