ia64/xen-unstable

changeset 14767:bd73cb523111

xen: Remove unused show_xen_trace().
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Fri Apr 06 14:35:25 2007 +0100 (2007-04-06)
parents 6625adf359dc
children f80a97d26276
files xen/arch/x86/traps.c xen/include/asm-x86/processor.h
line diff
     1.1 --- a/xen/arch/x86/traps.c	Fri Apr 06 14:34:43 2007 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Fri Apr 06 14:35:25 2007 +0100
     1.3 @@ -270,21 +270,6 @@ void show_stack(struct cpu_user_regs *re
     1.4      show_trace(regs);
     1.5  }
     1.6  
     1.7 -void show_xen_trace()
     1.8 -{
     1.9 -    struct cpu_user_regs regs;
    1.10 -#ifdef __x86_64
    1.11 -    __asm__("movq %%rsp,%0" : "=m" (regs.rsp));
    1.12 -    __asm__("movq %%rbp,%0" : "=m" (regs.rbp));
    1.13 -    __asm__("leaq 0(%%rip),%0" : "=a" (regs.rip));
    1.14 -#else
    1.15 -    __asm__("movl %%esp,%0" : "=m" (regs.esp));
    1.16 -    __asm__("movl %%ebp,%0" : "=m" (regs.ebp));
    1.17 -    __asm__("call 1f; 1: popl %0" : "=a" (regs.eip));
    1.18 -#endif
    1.19 -    show_trace(&regs);
    1.20 -}
    1.21 -
    1.22  void show_stack_overflow(unsigned int cpu, unsigned long esp)
    1.23  {
    1.24  #ifdef MEMORY_GUARD
     2.1 --- a/xen/include/asm-x86/processor.h	Fri Apr 06 14:34:43 2007 +0100
     2.2 +++ b/xen/include/asm-x86/processor.h	Fri Apr 06 14:35:25 2007 +0100
     2.3 @@ -552,7 +552,6 @@ extern always_inline void prefetchw(cons
     2.4  #endif
     2.5  
     2.6  void show_stack(struct cpu_user_regs *regs);
     2.7 -void show_xen_trace(void);
     2.8  void show_stack_overflow(unsigned int cpu, unsigned long esp);
     2.9  void show_registers(struct cpu_user_regs *regs);
    2.10  void show_execution_state(struct cpu_user_regs *regs);