diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-26 00:09:00 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-26 08:22:00 -0500 |
commit | d5e397cb49b53381e4c99a064ca733c665646de8 (patch) | |
tree | c8d0013c2c561573c2b011f7373c09e18b4c7255 /arch/x86/kernel/head_32.S | |
parent | 34707bcd0452aba644396767bc9fb61585bdab4f (diff) |
x86: improve early fault/irq printout
Impact: add a stack dump to early IRQs/faults
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 9f1410711607..84d05a4d7fc4 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -577,6 +577,9 @@ ignore_int: | |||
577 | pushl 40(%esp) | 577 | pushl 40(%esp) |
578 | pushl $int_msg | 578 | pushl $int_msg |
579 | call printk | 579 | call printk |
580 | |||
581 | call dump_stack | ||
582 | |||
580 | addl $(5*4),%esp | 583 | addl $(5*4),%esp |
581 | popl %ds | 584 | popl %ds |
582 | popl %es | 585 | popl %es |
@@ -652,7 +655,7 @@ early_recursion_flag: | |||
652 | .long 0 | 655 | .long 0 |
653 | 656 | ||
654 | int_msg: | 657 | int_msg: |
655 | .asciz "Unknown interrupt or fault at EIP %p %p %p\n" | 658 | .asciz "Unknown interrupt or fault at: %p %p %p\n" |
656 | 659 | ||
657 | fault_msg: | 660 | fault_msg: |
658 | /* fault info: */ | 661 | /* fault info: */ |