Commit 34707bcd authored by Ingo Molnar's avatar Ingo Molnar

x86, debug: remove early_printk() #ifdefs from head_32.S

Impact: cleanup

Remove such constructs:

 #ifdef CONFIG_EARLY_PRINTK
        call early_printk
 #else
        call printk
 #endif

Not only are they ugly, they are also pointless: a call to printk()
maps to early_printk during early bootup anyway, if CONFIG_EARLY_PRINTK
is enabled.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f3b8436a
...@@ -548,11 +548,7 @@ early_fault: ...@@ -548,11 +548,7 @@ early_fault:
pushl %eax pushl %eax
pushl %edx /* trapno */ pushl %edx /* trapno */
pushl $fault_msg pushl $fault_msg
#ifdef CONFIG_EARLY_PRINTK
call early_printk
#else
call printk call printk
#endif
#endif #endif
call dump_stack call dump_stack
hlt_loop: hlt_loop:
...@@ -580,11 +576,7 @@ ignore_int: ...@@ -580,11 +576,7 @@ ignore_int:
pushl 32(%esp) pushl 32(%esp)
pushl 40(%esp) pushl 40(%esp)
pushl $int_msg pushl $int_msg
#ifdef CONFIG_EARLY_PRINTK
call early_printk
#else
call printk call printk
#endif
addl $(5*4),%esp addl $(5*4),%esp
popl %ds popl %ds
popl %es popl %es
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment