patch-2.4.20 linux-2.4.20/arch/cris/kernel/traps.c

Next file: linux-2.4.20/arch/cris/lib/dram_init.S
Previous file: linux-2.4.20/arch/cris/kernel/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/cris/kernel/traps.c linux-2.4.20/arch/cris/kernel/traps.c
@@ -230,8 +230,12 @@
 #endif	
 }
 
-/* This is normally the 'Oops' routine */
+void dump_stack(void)
+{
+	show_stack(NULL);
+}
 
+/* This is normally the 'Oops' routine */
 void 
 die_if_kernel(const char * str, struct pt_regs * regs, long err)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)