]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Register udbg console early on pseries LPAR
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 24 Apr 2008 05:13:17 +0000 (15:13 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 24 Apr 2008 11:08:12 +0000 (21:08 +1000)
commitcb1e2ab45a92b31114dfe6e34832a084f9b0b263
treefc5197bb557474f726a1b8fbbe995a9725d694cb
parentf336632f191ebf157aeea0f1e65eb1b263655ffc
[POWERPC] Register udbg console early on pseries LPAR

On pseries LPAR we can call the udbg routines, and the udbg console very
early. So mark the udbg console as safe to call early in boot, and register
the udbg console as soon as the udbg routines are hooked up.

This allows platforms/pseries code to use printk() and pr_debug() rather
than needing to call udbg_printf() directly for early debugging. This is
nice because a) it's standard, b) it goes via the printk buffer, and c)
you can get printk time stamps.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/lpar.c