WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] xenctx: fix rse arithmetic

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] xenctx: fix rse arithmetic
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:41:13 -0700
Delivery-date: Thu, 04 Oct 2007 17:44:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1191254028 21600
# Node ID 3874bdc782044e5fe9e4181a411b07f2a4bc0155
# Parent  5c56ce7b989241e112d97c77e4a1a65b348e2019
[IA64] xenctx: fix rse arithmetic

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/xentrace/xenctx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 5c56ce7b9892 -r 3874bdc78204 tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c   Mon Oct 01 09:52:14 2007 -0600
+++ b/tools/xentrace/xenctx.c   Mon Oct 01 09:53:48 2007 -0600
@@ -489,7 +489,7 @@ void print_ctx(vcpu_guest_context_t *ctx
     for (i = 0; i < cfm_sof; i++) {
         int off = cfm_sof - i;
         unsigned int rbs_off =
-            (((62 - ((rbs_size + regs->rbs_voff) % 64) + off)) / 63) + off;
+            (((62 - ((rbs_size + regs->rbs_voff) % 63) + off)) / 63) + off;
         if (rbs_off > rbs_size)
             break;
         printf(" r%02d: %016lx%s", 32 + i,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] xenctx: fix rse arithmetic, Xen patchbot-unstable <=