ia64/xen-unstable

changeset 4605:9e4daf2e49d2

bitkeeper revision 1.1347 (4266ee31uFDz7ZMst_Cy-vYbXJ2EZw)


__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@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
author iap10@tetris.cl.cam.ac.uk
date Thu Apr 21 00:05:05 2005 +0000 (2005-04-21)
parents 717d7dbd06ea
children 75e466e245dc
files xen/arch/x86/smpboot.c
line diff
     1.1 --- a/xen/arch/x86/smpboot.c	Wed Apr 20 21:22:46 2005 +0000
     1.2 +++ b/xen/arch/x86/smpboot.c	Thu Apr 21 00:05:05 2005 +0000
     1.3 @@ -115,7 +115,8 @@ void __init smp_alloc_memory(void)
     1.4  void __init smp_store_cpu_info(int id)
     1.5  {
     1.6      cpu_data[id] = boot_cpu_data;
     1.7 -    identify_cpu(&cpu_data[id]);
     1.8 +    if (id != 0)
     1.9 +        identify_cpu(&cpu_data[id]);
    1.10  }
    1.11  
    1.12  /*