ia64/xen-unstable

changeset 11814:15fa2785ef1c

[IA64] Fix panic when destroying DomVTI

Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author awilliam@xenbuild.aw
date Tue Oct 17 14:25:25 2006 -0600 (2006-10-17)
parents de50245ad4e3
children 3e1571489789
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Tue Oct 17 14:22:08 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Tue Oct 17 14:25:25 2006 -0600
     1.3 @@ -366,7 +366,7 @@ void relinquish_vcpu_resources(struct vc
     1.4  
     1.5  void free_vcpu_struct(struct vcpu *v)
     1.6  {
     1.7 -	if (VMX_DOMAIN(v))
     1.8 +	if (v->domain->arch.is_vti)
     1.9  		vmx_relinquish_vcpu_resources(v);
    1.10  	else
    1.11  		relinquish_vcpu_resources(v);