[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>
Showing
- arch/powerpc/kernel/Makefile 5 additions, 1 deletionarch/powerpc/kernel/Makefile
- arch/powerpc/kernel/udbg.c 0 additions, 0 deletionsarch/powerpc/kernel/udbg.c
- arch/powerpc/kernel/udbg_16550.c 0 additions, 0 deletionsarch/powerpc/kernel/udbg_16550.c
- arch/powerpc/kernel/udbg_scc.c 0 additions, 0 deletionsarch/powerpc/kernel/udbg_scc.c
- arch/ppc64/kernel/Makefile 0 additions, 7 deletionsarch/ppc64/kernel/Makefile
- include/asm-powerpc/udbg.h 7 additions, 7 deletionsinclude/asm-powerpc/udbg.h
File moved
File moved
File moved
Please register or sign in to comment