]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Use udbg_early_init() on ppc32
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 13 Feb 2007 04:54:22 +0000 (15:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 Feb 2007 00:55:16 +0000 (11:55 +1100)
commit719c91ccadd3ed26570dbb29d54166914832eee9
treeee11ec26fbbb096d034468379241e872cbd63548
parent8d38a5b2fab1397d35ba1c92828a91b77ce9f865
[POWERPC] Use udbg_early_init() on ppc32

udbg_early_init() is a function used on 64 bit systems, which
initializes whichever early udbg backend is configured.  This function
is not called on 32-bit, however if btext early debug is enabled it
does have an explicit, inline, #ifdef-ed assignment performing
analagous initialization.

This patch makes things more uniform by folding the btext
initialization as an option into udbg_early_init() and calling that
from the 32-bit setup path.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/btext.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/udbg.c
include/asm-powerpc/udbg.h