# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1191227127 -32400 # Node ID 771c51452a7553b502d31d0736d9d744320df8a0 # Parent 3b2db463c0613db9b428c6610d938e237ba78ede vmx_vcpu_set_rr(): remove the obsolete variable, oldrr. PATCHNAME: vmx_vcpu_set_rr_remove_oldrr Signed-off-by: Isaku Yamahata diff -r 3b2db463c061 -r 771c51452a75 xen/arch/ia64/vmx/vmx_vcpu.c --- a/xen/arch/ia64/vmx/vmx_vcpu.c Fri Sep 21 20:30:48 2007 +0900 +++ b/xen/arch/ia64/vmx/vmx_vcpu.c Mon Oct 01 17:25:27 2007 +0900 @@ -161,10 +161,9 @@ IA64FAULT vmx_vcpu_cover(VCPU *vcpu) IA64FAULT vmx_vcpu_set_rr(VCPU *vcpu, u64 reg, u64 val) { - ia64_rr oldrr,newrr; + ia64_rr newrr; u64 rrval; - vcpu_get_rr(vcpu, reg, &oldrr.rrval); newrr.rrval=val; if (newrr.rid >= (1 << vcpu->domain->arch.rid_bits)) panic_domain (NULL, "use of invalid rid %x\n", newrr.rid);