[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] compilation fix of xenctx
# HG changeset patch # User Isaku Yamahata <yamahata@xxxxxxxxxxxxx> # Date 1231298431 -32400 # Node ID e1b8cc945d0407bc03be4d23390b4e59dc8fbe31 # Parent 661a839a481e30000c8ad8bcd231c93bd113e236 [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 <yamahata@xxxxxxxxxxxxx> --- tools/xentrace/xenctx.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -r 661a839a481e -r e1b8cc945d04 tools/xentrace/xenctx.c --- a/tools/xentrace/xenctx.c Wed Jan 07 12:20:18 2009 +0900 +++ b/tools/xentrace/xenctx.c Wed Jan 07 12:20:31 2009 +0900 @@ -427,8 +427,8 @@ static void print_tr(int i, const struct 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 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) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |