[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@valinux.co.jp>
This commit is contained in:
Isaku Yamahata committed 2009-01-07 12:20:31 +09:00
1 parent 4d44b2eab3
commit e2b255ceff
1 file changed
+3 -3
+3 -3
View File
@@ -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) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.