ia64/xen-unstable

changeset 16007:3874bdc78204

[IA64] xenctx: fix rse arithmetic

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Mon Oct 01 09:53:48 2007 -0600 (2007-10-01)
parents 5c56ce7b9892
children 2d1b8ae1548d
files tools/xentrace/xenctx.c
line diff
     1.1 --- a/tools/xentrace/xenctx.c	Mon Oct 01 09:52:14 2007 -0600
     1.2 +++ b/tools/xentrace/xenctx.c	Mon Oct 01 09:53:48 2007 -0600
     1.3 @@ -489,7 +489,7 @@ void print_ctx(vcpu_guest_context_t *ctx
     1.4      for (i = 0; i < cfm_sof; i++) {
     1.5          int off = cfm_sof - i;
     1.6          unsigned int rbs_off =
     1.7 -            (((62 - ((rbs_size + regs->rbs_voff) % 64) + off)) / 63) + off;
     1.8 +            (((62 - ((rbs_size + regs->rbs_voff) % 63) + off)) / 63) + off;
     1.9          if (rbs_off > rbs_size)
    1.10              break;
    1.11          printf(" r%02d: %016lx%s", 32 + i,