direct-io.hg

changeset 10593:c974a6e3f517

[IA64] dummy print_stack() func for NO_TRANSLATION path

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author awilliam@xenbuild.aw
date Mon Jun 19 14:55:13 2006 -0600 (2006-06-19)
parents ea306829506c
children 59be60d5664b
files tools/xentrace/xenctx.c
line diff
     1.1 --- a/tools/xentrace/xenctx.c	Mon Jun 19 13:45:42 2006 -0600
     1.2 +++ b/tools/xentrace/xenctx.c	Mon Jun 19 14:55:13 2006 -0600
     1.3 @@ -428,6 +428,8 @@ void print_stack(vcpu_guest_context_t *c
     1.4          }
     1.5      }
     1.6  }
     1.7 +#else
     1.8 +#define print_stack(ctx, vcpu)
     1.9  #endif
    1.10  
    1.11  void dump_ctx(int vcpu)
    1.12 @@ -451,10 +453,8 @@ void dump_ctx(int vcpu)
    1.13      }
    1.14  
    1.15      print_ctx(&ctx);
    1.16 -#ifndef NO_TRANSLATION
    1.17      if (is_kernel_text(INSTR_POINTER((&ctx.user_regs))))
    1.18          print_stack(&ctx, vcpu);
    1.19 -#endif
    1.20  
    1.21      ret = xc_domain_unpause(xc_handle, domid);
    1.22      if (ret < 0) {