aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/head_32.S12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index 0fa8a972a679..39677965e161 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -452,6 +452,7 @@ early_page_fault:
452early_fault: 452early_fault:
453 cld 453 cld
454#ifdef CONFIG_PRINTK 454#ifdef CONFIG_PRINTK
455 pusha
455 movl $(__KERNEL_DS),%eax 456 movl $(__KERNEL_DS),%eax
456 movl %eax,%ds 457 movl %eax,%ds
457 movl %eax,%es 458 movl %eax,%es
@@ -543,8 +544,15 @@ int_msg:
543 .asciz "Unknown interrupt or fault at EIP %p %p %p\n" 544 .asciz "Unknown interrupt or fault at EIP %p %p %p\n"
544 545
545fault_msg: 546fault_msg:
546 .ascii "Int %d: CR2 %p err %p EIP %p CS %p flags %p\n" 547 .ascii \
547 .asciz "Stack: %p %p %p %p %p %p %p %p\n" 548/* fault info: */ "BUG: Int %d: CR2 %p\n" \
549/* pusha regs: */ " EDI %p ESI %p EBP %p ESP %p\n" \
550 " EBX %p EDX %p ECX %p EAX %p\n" \
551/* fault frame: */ " err %p EIP %p CS %p flg %p\n" \
552 \
553 "Stack: %p %p %p %p %p %p %p %p\n" \
554 " %p %p %p %p %p %p %p %p\n" \
555 " %p %p %p %p %p %p %p %p\n"
548 556
549#include "../../x86/xen/xen-head.S" 557#include "../../x86/xen/xen-head.S"
550 558