| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xenctx, ia64: fix compilation error.
 xenctx, ia64: fix compilation error.
This patch fixes the following error on ia64 casued by
the changeset of 19451:b7a11dff84c0.
> xenctx.c: In function dump_ctx:
> xenctx.c:878: warning: implicit declaration of function print_code
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -875,8 +875,8 @@ static void dump_ctx(int vcpu)
 #endif
 
     print_ctx(&ctx);
+#ifndef NO_TRANSLATION
     print_code(&ctx, vcpu);
-#ifndef NO_TRANSLATION
     if (is_kernel_text(instr_pointer(&ctx)))
         print_stack(&ctx, vcpu, guest_word_size);
 #endif
-- 
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |