From e2b255ceffc0da268c526cc03ba0ce2a1c4a0908 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 7 Jan 2009 12:20:31 +0900 Subject: [PATCH] [IA64] compilation fix of xenctx This patch fixes the following compilation error caused by 18963:9cc632cc6d40 of xen-unstable.hg > xenctx.c: In function 'print_ctx': > xenctx.c:430: error: request for member 'c' in something not a structure or union > xenctx.c:431: error: 'vcpu_guest_context_any_t' has no member named 'regs' > xenctx.c:484: error: 'vcpu_guest_context_any_t' has no member named 'event_callback_ip' Signed-off-by: Isaku Yamahata --- tools/xentrace/xenctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index bf3aede281..ec01427413 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -427,8 +427,8 @@ static void print_tr(int i, const struct ia64_tr_entry *tr) void print_ctx(vcpu_guest_context_any_t *ctx) { - struct vcpu_guest_context_regs *regs = &ctx.c->regs; - struct vcpu_tr_regs *tr = &ctx->regs.tr; + struct vcpu_guest_context_regs *regs = &ctx->c.regs; + struct vcpu_tr_regs *tr = &ctx->c.regs.tr; int i; unsigned int rbs_size, cfm_sof; @@ -481,7 +481,7 @@ void print_ctx(vcpu_guest_context_any_t *ctx) printf(" cmcv: %016lx\n", regs->cr.cmcv); printf(" lrr0: %016lx ", regs->cr.lrr0); printf(" lrr1: %016lx ", regs->cr.lrr1); - printf(" ev_cb:%016lx\n", ctx->event_callback_ip); + printf(" ev_cb:%016lx\n", ctx->c.event_callback_ip); } if (disp_ar_regs) { -- 2.30.2