This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [IA64] correct mistake from previous patch
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Mar 2006 00:52:08 +0000
Delivery-date: Thu, 23 Mar 2006 00:53:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] correct mistake from previous patch, Xen patchbot -unstable <=