x86: improve early fault/irq printout
Impact: add a stack dump to early IRQs/faults
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index 9f14107..84d05a4d 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -577,6 +577,9 @@
pushl 40(%esp)
pushl $int_msg
call printk
+
+ call dump_stack
+
addl $(5*4),%esp
popl %ds
popl %es
@@ -652,7 +655,7 @@
.long 0
int_msg:
- .asciz "Unknown interrupt or fault at EIP %p %p %p\n"
+ .asciz "Unknown interrupt or fault at: %p %p %p\n"
fault_msg:
/* fault info: */