ia64/xen-unstable

changeset 3937:4ce1aebf725f

bitkeeper revision 1.1236.4.1 (421f9dcbHJkjrRCLRtqvTdb-LhoYMg)

vcpu.c:
Fix invalid comparison between exec_domain * and domain *
author adsharma@linux-t08.sc.intel.com
date Fri Feb 25 21:51:07 2005 +0000 (2005-02-25)
parents 3c5d6f364349
children fbb1d8be1f5f
files xen/arch/ia64/vcpu.c
line diff
     1.1 --- a/xen/arch/ia64/vcpu.c	Fri Feb 25 18:37:31 2005 +0000
     1.2 +++ b/xen/arch/ia64/vcpu.c	Fri Feb 25 21:51:07 2005 +0000
     1.3 @@ -1421,7 +1421,7 @@ extern struct domain *dom0;
     1.4  void vcpu_itc_no_srlz(VCPU *vcpu, UINT64 IorD, UINT64 vaddr, UINT64 pte, UINT64 logps)
     1.5  {
     1.6  	unsigned long psr;
     1.7 -	unsigned long ps = (vcpu==dom0) ? logps : PAGE_SHIFT;
     1.8 +	unsigned long ps = (vcpu->domain==dom0) ? logps : PAGE_SHIFT;
     1.9  
    1.10  	// FIXME: validate ifa here (not in Xen space), COULD MACHINE CHECK!
    1.11  	// FIXME, must be inlined or potential for nested fault here!