xen: Remove unused show_xen_trace().

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
Keir Fraser committed 2007-04-06 14:35:25 +01:00
1 parent 262b481fdf
commit fff07ef615
2 files changed
-16

No files matched your search

-15
View File
@@ -270,21 +270,6 @@ void show_stack(struct cpu_user_regs *regs)
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)
{
#ifdef MEMORY_GUARD
-1
View File
@@ -552,7 +552,6 @@ extern always_inline void prefetchw(const void *x)
#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);
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.