[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [PATCH 5/23] clean up: vmx_vcpu_set_rr()



# 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 <yamahata@xxxxxxxxxxxxx>

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);

Attachment: 16055_771c51452a75_vmx_vcpu_set_rr_remove_oldrr.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.