diff options
author | Alex Williamson <alex.williamson@hp.com> | 2007-10-01 09:53:48 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@hp.com> | 2007-10-01 09:53:48 -0600 |
commit | e26fbf7c55cc1d14313144d666bb50d662099df0 (patch) | |
tree | b9cc17bb5d5a25777b69296ce3cc0a663f9f6938 /tools/xentrace/xenctx.c | |
parent | a7e9dba8cc79183a2e436c9ae00af18b60328a26 (diff) | |
download | xen-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/xenctx.c')
-rw-r--r-- | tools/xentrace/xenctx.c | 2 |
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, |