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

[Xen-changelog] [xen-unstable] [IA64] Clean up: vmx_vcpu_set_rr()



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1192219802 21600
# Node ID f0f4cd789eaa8c6c7498aa2ac8caf656b33c8726
# Parent  52b71f12dce7d3625503761269f6d80a23a135fe
[IA64] Clean up: vmx_vcpu_set_rr()

vmx_vcpu_set_rr(): remove the obsolete variable, oldrr.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_vcpu.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 52b71f12dce7 -r f0f4cd789eaa xen/arch/ia64/vmx/vmx_vcpu.c
--- a/xen/arch/ia64/vmx/vmx_vcpu.c      Fri Oct 12 14:08:13 2007 -0600
+++ b/xen/arch/ia64/vmx/vmx_vcpu.c      Fri Oct 12 14:10:02 2007 -0600
@@ -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);

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


 


Rackspace

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