ia64/xen-unstable

changeset 9401:138c76d5e493

[IA64] dump_stack() for debug.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Fri Mar 24 10:38:41 2006 -0700 (2006-03-24)
parents 487ff011626c
children e45666b8b05f
files xen/arch/ia64/linux-xen/process-linux-xen.c xen/include/asm-ia64/linux-xen/asm/processor.h
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/process-linux-xen.c	Fri Mar 24 10:36:14 2006 -0700
     1.2 +++ b/xen/arch/ia64/linux-xen/process-linux-xen.c	Fri Mar 24 10:38:41 2006 -0700
     1.3 @@ -102,7 +102,6 @@ show_stack (struct task_struct *task, un
     1.4  	}
     1.5  }
     1.6  
     1.7 -#ifndef XEN
     1.8  void
     1.9  dump_stack (void)
    1.10  {
    1.11 @@ -110,7 +109,6 @@ dump_stack (void)
    1.12  }
    1.13  
    1.14  EXPORT_SYMBOL(dump_stack);
    1.15 -#endif
    1.16  
    1.17  #ifdef XEN
    1.18  void
     2.1 --- a/xen/include/asm-ia64/linux-xen/asm/processor.h	Fri Mar 24 10:36:14 2006 -0700
     2.2 +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h	Fri Mar 24 10:38:41 2006 -0700
     2.3 @@ -438,6 +438,9 @@ extern void __ia64_save_fpu (struct ia64
     2.4  extern void __ia64_load_fpu (struct ia64_fpreg *fph);
     2.5  extern void ia64_save_debug_regs (unsigned long *save_area);
     2.6  extern void ia64_load_debug_regs (unsigned long *save_area);
     2.7 +#ifdef XEN
     2.8 +extern void dump_stack(void);
     2.9 +#endif
    2.10  
    2.11  #ifdef CONFIG_IA32_SUPPORT
    2.12  extern void ia32_save_state (struct task_struct *task);