aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2007-10-01 09:53:48 -0600
committerAlex Williamson <alex.williamson@hp.com>2007-10-01 09:53:48 -0600
commite26fbf7c55cc1d14313144d666bb50d662099df0 (patch)
treeb9cc17bb5d5a25777b69296ce3cc0a663f9f6938 /tools/xentrace
parenta7e9dba8cc79183a2e436c9ae00af18b60328a26 (diff)
downloadxen-e26fbf7c55cc1d14313144d666bb50d662099df0.tar.gz
xen-e26fbf7c55cc1d14313144d666bb50d662099df0.tar.bz2
xen-e26fbf7c55cc1d14313144d666bb50d662099df0.zip
[IA64] xenctx: fix rse arithmetic
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'tools/xentrace')
-rw-r--r--tools/xentrace/xenctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
index 274da0b41b..912bcdf937 100644
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -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,