[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: Remove unused show_xen_trace().



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1175866525 -3600
# Node ID bd73cb523111dd022d6d1e7de01d1930ed85b307
# Parent  6625adf359dc8c64e2da3802585fb378f4863925
xen: Remove unused show_xen_trace().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/traps.c            |   15 ---------------
 xen/include/asm-x86/processor.h |    1 -
 2 files changed, 16 deletions(-)

diff -r 6625adf359dc -r bd73cb523111 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Fri Apr 06 14:34:43 2007 +0100
+++ b/xen/arch/x86/traps.c      Fri Apr 06 14:35:25 2007 +0100
@@ -268,21 +268,6 @@ void show_stack(struct cpu_user_regs *re
     printk("\n");
 
     show_trace(regs);
-}
-
-void show_xen_trace()
-{
-    struct cpu_user_regs regs;
-#ifdef __x86_64
-    __asm__("movq %%rsp,%0" : "=m" (regs.rsp));
-    __asm__("movq %%rbp,%0" : "=m" (regs.rbp));
-    __asm__("leaq 0(%%rip),%0" : "=a" (regs.rip));
-#else
-    __asm__("movl %%esp,%0" : "=m" (regs.esp));
-    __asm__("movl %%ebp,%0" : "=m" (regs.ebp));
-    __asm__("call 1f; 1: popl %0" : "=a" (regs.eip));
-#endif
-    show_trace(&regs);
 }
 
 void show_stack_overflow(unsigned int cpu, unsigned long esp)
diff -r 6625adf359dc -r bd73cb523111 xen/include/asm-x86/processor.h
--- a/xen/include/asm-x86/processor.h   Fri Apr 06 14:34:43 2007 +0100
+++ b/xen/include/asm-x86/processor.h   Fri Apr 06 14:35:25 2007 +0100
@@ -552,7 +552,6 @@ extern always_inline void prefetchw(cons
 #endif
 
 void show_stack(struct cpu_user_regs *regs);
-void show_xen_trace(void);
 void show_stack_overflow(unsigned int cpu, unsigned long esp);
 void show_registers(struct cpu_user_regs *regs);
 void show_execution_state(struct cpu_user_regs *regs);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.