diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-24 15:52:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-24 15:52:27 -0500 |
commit | 87b203079ed949de52f0d92aeae20e5e0116c12f (patch) | |
tree | 1878756f936963822ed2d51a15db1da5814973e7 /arch/x86/kernel/head_32.S | |
parent | 58105ef1857112a186696c9b8957020090226a28 (diff) | |
parent | a852cbfaaf8122827602027b1614971cfd832304 (diff) |
Merge branch 'x86/core' into core/percpu
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index cf21fd0cf6ac..c32ca19d591a 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -11,8 +11,8 @@ | |||
11 | #include <linux/init.h> | 11 | #include <linux/init.h> |
12 | #include <linux/linkage.h> | 12 | #include <linux/linkage.h> |
13 | #include <asm/segment.h> | 13 | #include <asm/segment.h> |
14 | #include <asm/page.h> | 14 | #include <asm/page_types.h> |
15 | #include <asm/pgtable.h> | 15 | #include <asm/pgtable_types.h> |
16 | #include <asm/desc.h> | 16 | #include <asm/desc.h> |
17 | #include <asm/cache.h> | 17 | #include <asm/cache.h> |
18 | #include <asm/thread_info.h> | 18 | #include <asm/thread_info.h> |
@@ -567,12 +567,8 @@ early_fault: | |||
567 | pushl %eax | 567 | pushl %eax |
568 | pushl %edx /* trapno */ | 568 | pushl %edx /* trapno */ |
569 | pushl $fault_msg | 569 | pushl $fault_msg |
570 | #ifdef CONFIG_EARLY_PRINTK | ||
571 | call early_printk | ||
572 | #else | ||
573 | call printk | 570 | call printk |
574 | #endif | 571 | #endif |
575 | #endif | ||
576 | call dump_stack | 572 | call dump_stack |
577 | hlt_loop: | 573 | hlt_loop: |
578 | hlt | 574 | hlt |
@@ -599,11 +595,10 @@ ignore_int: | |||
599 | pushl 32(%esp) | 595 | pushl 32(%esp) |
600 | pushl 40(%esp) | 596 | pushl 40(%esp) |
601 | pushl $int_msg | 597 | pushl $int_msg |
602 | #ifdef CONFIG_EARLY_PRINTK | ||
603 | call early_printk | ||
604 | #else | ||
605 | call printk | 598 | call printk |
606 | #endif | 599 | |
600 | call dump_stack | ||
601 | |||
607 | addl $(5*4),%esp | 602 | addl $(5*4),%esp |
608 | popl %ds | 603 | popl %ds |
609 | popl %es | 604 | popl %es |
@@ -679,7 +674,7 @@ early_recursion_flag: | |||
679 | .long 0 | 674 | .long 0 |
680 | 675 | ||
681 | int_msg: | 676 | int_msg: |
682 | .asciz "Unknown interrupt or fault at EIP %p %p %p\n" | 677 | .asciz "Unknown interrupt or fault at: %p %p %p\n" |
683 | 678 | ||
684 | fault_msg: | 679 | fault_msg: |
685 | /* fault info: */ | 680 | /* fault info: */ |