ia64/xen-unstable

changeset 19343:832f9e32832d

x86: Fix a typo in vpmu_core2.c

When the HVM guest which is xenoprof's passive domain, is going to
shutdown, the Hypervisor panics because of typo in vpmu_core2.c

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 12 11:26:32 2009 +0000 (2009-03-12)
parents e174645c7fc0
children 0b5b67eba5ba
files xen/arch/x86/hvm/vmx/vpmu_core2.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c	Thu Mar 12 11:25:40 2009 +0000
     1.2 +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c	Thu Mar 12 11:26:32 2009 +0000
     1.3 @@ -481,7 +481,7 @@ static void core2_vpmu_destroy(struct vc
     1.4      struct vpmu_struct *vpmu = vcpu_vpmu(v);
     1.5      struct core2_vpmu_context *core2_vpmu_cxt = vpmu->context;
     1.6  
     1.7 -    if ( !vpmu->flags & VPMU_CONTEXT_ALLOCATED )
     1.8 +    if ( !(vpmu->flags & VPMU_CONTEXT_ALLOCATED) )
     1.9          return;
    1.10      xfree(core2_vpmu_cxt->pmu_enable);
    1.11      xfree(vpmu->context);