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

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



# 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


 


Rackspace

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