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>
This commit is contained in:
Keir Fraser committed 2009-03-12 11:26:32 +00:00
1 parent b41dfb227d
commit f777559395
1 file changed
+1 -1
+1 -1
View File
@@ -481,7 +481,7 @@ static void core2_vpmu_destroy(struct vcpu *v)
struct vpmu_struct *vpmu = vcpu_vpmu(v);
struct core2_vpmu_context *core2_vpmu_cxt = vpmu->context;
if ( !vpmu->flags & VPMU_CONTEXT_ALLOCATED )
if ( !(vpmu->flags & VPMU_CONTEXT_ALLOCATED) )
return;
xfree(core2_vpmu_cxt->pmu_enable);
xfree(vpmu->context);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.