]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: print out early faults via early_printk()
authorIngo Molnar <mingo@elte.hu>
Sun, 12 Feb 2006 01:55:56 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 12 Feb 2006 05:41:11 +0000 (21:41 -0800)
commit18f150f94d90decee8a3805634352fa8d07b9b25
tree985d7ca58ef6382df54d1f7895af66eda4c61e9b
parentaacf73dde4e141795e7e15f539aaf09275cb4339
[PATCH] x86: print out early faults via early_printk()

Lost a few hours debugging an early-bootup fault within printk itself,
which manifested itself as a hard to debug early hang.

This patch makes it much easier by printing out early faults via
early_printk(), which function is a lot simpler than a full printk, and
hence more likely to succeed in emergencies.  (We do not recover from early
faults anyway, so there's no loss from not having these messages in the
normal printk buffer.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/head.S