[PATCH] powerpc: Move udbg code to arch/powerpc
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 11 Nov 2005 05:42:12 +0000 (16:42 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 11 Nov 2005 11:23:34 +0000 (22:23 +1100)
commit35cd8785de39c90a52287d0f041cff8a792eaa74
treee45b94be971992d21f06086ef2ae443b90fd621b
parenta7df61a0e2b6300d8b8349c1e5e87a4336c0ab38
[PATCH] powerpc: Move udbg code to arch/powerpc

Since the udbg code in ppc64 has no ppc32 equivalent, move it straight
over into arch/powerpc (and include/asm-powerpc for udbg.h).  In time,
we probably want to meld the various bits and pieces of 32-bit early
debugging code into udbg, but for now only include it on
CONFIG_PPC64=y builds.  The only change during the move is to
standardise the protecting #ifdef/#define in udbg.h, and move its
banner comment above the initial #ifdef (which seems to be normal
practice).

Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64).  Built
for 32bit multiplatform (ARCH=powerpc).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/udbg.c [moved from arch/ppc64/kernel/udbg.c with 100% similarity]
arch/powerpc/kernel/udbg_16550.c [moved from arch/ppc64/kernel/udbg_16550.c with 100% similarity]
arch/powerpc/kernel/udbg_scc.c [moved from arch/ppc64/kernel/udbg_scc.c with 100% similarity]
arch/ppc64/kernel/Makefile
include/asm-powerpc/udbg.h [moved from include/asm-ppc64/udbg.h with 90% similarity]