ia64/xen-unstable

changeset 3901:89cabb316ba2

bitkeeper revision 1.1236.1.5 (421d33ebHNLMMWDQ8PEe_htJGjNqaw)

[PATCH] Fix mismatched parens

Fix mismatched parens.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>

Index: xen-ia64.svn/xen/arch/ia64/vcpu.c
===================================================================
author arun.sharma@intel.com[adsharma]
date Thu Feb 24 01:54:51 2005 +0000 (2005-02-24)
parents 53af0ad97d93
children 27a2fdfeba20
files xen/arch/ia64/vcpu.c
line diff
     1.1 --- a/xen/arch/ia64/vcpu.c	Thu Feb 24 01:54:20 2005 +0000
     1.2 +++ b/xen/arch/ia64/vcpu.c	Thu Feb 24 01:54:51 2005 +0000
     1.3 @@ -1265,7 +1265,7 @@ unsigned long vcpu_get_rr_ve(VCPU *vcpu,
     1.4  	
     1.5  	ia64_rr rr;
     1.6  
     1.7 -	rr.rrval = PSCB(vcpu,rrs[vadr)>>61];
     1.8 +	rr.rrval = PSCB(vcpu,rrs)[vadr>>61];
     1.9  	return(rr.ve);
    1.10  }
    1.11  
    1.12 @@ -1275,7 +1275,7 @@ unsigned long vcpu_get_rr_ps(VCPU *vcpu,
    1.13  	
    1.14  	ia64_rr rr;
    1.15  
    1.16 -	rr.rrval = PSCB(vcpu,rrs[vadr)>>61];
    1.17 +	rr.rrval = PSCB(vcpu,rrs)[vadr>>61];
    1.18  	return(rr.ps);
    1.19  }
    1.20  
    1.21 @@ -1285,7 +1285,7 @@ unsigned long vcpu_get_rr_rid(VCPU *vcpu
    1.22  	
    1.23  	ia64_rr rr;
    1.24  
    1.25 -	rr.rrval = PSCB(vcpu,rrs[vadr)>>61];
    1.26 +	rr.rrval = PSCB(vcpu,rrs)[vadr>>61];
    1.27  	return(rr.rid);
    1.28  }
    1.29  
    1.30 @@ -1293,7 +1293,7 @@ unsigned long vcpu_get_rr_rid(VCPU *vcpu
    1.31  IA64FAULT vcpu_set_rr(VCPU *vcpu, UINT64 reg, UINT64 val)
    1.32  {
    1.33  	extern void set_one_rr(UINT64, UINT64);
    1.34 -	PSCB(vcpu,rrs[reg)>>61] = val;
    1.35 +	PSCB(vcpu,rrs)[reg>>61] = val;
    1.36  	// warning: set_one_rr() does it "live"
    1.37  	set_one_rr(reg,val);
    1.38  	return (IA64_NO_FAULT);
    1.39 @@ -1301,7 +1301,7 @@ IA64FAULT vcpu_set_rr(VCPU *vcpu, UINT64
    1.40  
    1.41  IA64FAULT vcpu_get_rr(VCPU *vcpu, UINT64 reg, UINT64 *pval)
    1.42  {
    1.43 -	UINT val = PSCB(vcpu,rrs[reg)>>61];
    1.44 +	UINT val = PSCB(vcpu,rrs)[reg>>61];
    1.45  	*pval = val;
    1.46  	return (IA64_NO_FAULT);
    1.47  }