From e26fbf7c55cc1d14313144d666bb50d662099df0 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 1 Oct 2007 09:53:48 -0600 Subject: [PATCH] [IA64] xenctx: fix rse arithmetic Signed-off-by: Isaku Yamahata --- tools/xentrace/xenctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5