WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] compilation fix of xenctx

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] compilation fix of xenctx
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jan 2009 06:58:07 -0800
Delivery-date: Thu, 08 Jan 2009 07:05:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] compilation fix of xenctx, Xen patchbot-unstable <=