summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-26 14:18:05 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-26 14:18:43 +0100
commit34707bcd0452aba644396767bc9fb61585bdab4f (patch)
tree3cc778a32eee813451d55e305ba2b74ff35b0dcd
parentf3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b (diff)
downloadlinux-34707bcd0452aba644396767bc9fb61585bdab4f.tar.gz
linux-34707bcd0452aba644396767bc9fb61585bdab4f.tar.bz2
linux-34707bcd0452aba644396767bc9fb61585bdab4f.zip
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: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/head_32.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index e835b4eea70b..9f1410711607 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -548,12 +548,8 @@ early_fault:
pushl %eax
pushl %edx /* trapno */
pushl $fault_msg
-#ifdef CONFIG_EARLY_PRINTK
- call early_printk
-#else
call printk
#endif
-#endif
call dump_stack
hlt_loop:
hlt
@@ -580,11 +576,7 @@ ignore_int:
pushl 32(%esp)
pushl 40(%esp)
pushl $int_msg
-#ifdef CONFIG_EARLY_PRINTK
- call early_printk
-#else
call printk
-#endif
addl $(5*4),%esp
popl %ds
popl %es