summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorPaul Mackerras2006-01-10 06:19:05 +0100
committerPaul Mackerras2006-01-10 06:19:05 +0100
commit13b8a272297b29870d5bf5f8db7a381dd9e82382 (patch)
tree7abd516728d53f2d096d757412d6e9cd17819382 /arch/powerpc/kernel/setup_64.c
parent[PATCH] powerpc/pseries: dlpar-add crash on null pointer deref (diff)
downloadkernel-qcow2-linux-13b8a272297b29870d5bf5f8db7a381dd9e82382.tar.gz
kernel-qcow2-linux-13b8a272297b29870d5bf5f8db7a381dd9e82382.tar.xz
kernel-qcow2-linux-13b8a272297b29870d5bf5f8db7a381dd9e82382.zip
powerpc: Introduce a new config symbol to control 16550 early debug code
The previous change by Kumar Gala in this area led to legacy_serial.c and udbg_16550.c being built as modules when CONFIG_SERIAL_8250=m. Fix this by introducing a new symbol, CONFIG_PPC_UDBG_16550, to control whether these files get built, and arrange for it to be selected for those platforms that need it. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 81567e931260..c4b76961d6de 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -472,9 +472,7 @@ void __init setup_system(void)
* hash table management for us, thus ioremap works. We do that early
* so that further code can be debugged
*/
-#ifdef CONFIG_SERIAL_8250
find_legacy_serial_ports();
-#endif
/*
* "Finish" the device-tree, that is do the actual parsing of