[PATCH] powerpc: Add udbg-immortal kernel option
authorBenjamin Herrenschmidt <benh@au1.ibm.com>
Wed, 7 Jun 2006 02:06:20 +0000 (12:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 11:24:10 +0000 (21:24 +1000)
commit3b5e905ee3bd23e9311951890aba57a0dbc81ca4
tree700e3dd7e21b09006216647fb0dec284b682f2ab
parente78dbc800c37f035d476c4fdebdf43cdecfcb731
[PATCH] powerpc: Add udbg-immortal kernel option

When debugging early kernel crashes that happen after console_init() and
before a proper console driver takes over, we often have to go hack into
udbg.c to prevent it from unregistering so we can "see" what is
happening. This patch adds a kernel command line option "udbg-immortal"
instead to avoid having to modify the kernel.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/udbg.c