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

[Xen-changelog] [IA64] correct mistake from previous patch



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID d5b1bc047540d97e853e476c333ce54bb88ac594
# Parent  58a3ed82eee4683fba0c8e9d010030cbb138ea3b
[IA64] correct mistake from previous patch

Oops, mis-corrected the previous patch, Kan was correct.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>

diff -r 58a3ed82eee4 -r d5b1bc047540 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Mon Mar 20 16:19:36 2006
+++ b/xen/arch/ia64/xen/vcpu.c  Mon Mar 20 16:33:38 2006
@@ -98,10 +98,9 @@
 vcpu_set_gr(VCPU *vcpu, unsigned long reg, UINT64 value, int nat)
 {
        REGS *regs = vcpu_regs(vcpu);
-       long sof;
+       long sof = (regs->cr_ifs) & 0x7f;
 
        if (!reg) return IA64_ILLOP_FAULT;
-       sof = (regs->cr_ifs) & 0x7f;
        if (reg >= sof + 32) return IA64_ILLOP_FAULT;
        setreg(reg,value,nat,regs);     // FIXME: handle NATs later
        return IA64_NO_FAULT;

_______________________________________________
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®.