aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/udbg.c2
-rw-r--r--arch/powerpc/platforms/pseries/lpar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c
index 23d65abbedce..a57e61ea0558 100644
--- a/arch/powerpc/kernel/udbg.c
+++ b/arch/powerpc/kernel/udbg.c
@@ -68,6 +68,8 @@ void __init udbg_early_init(void)
68 68
69#ifdef CONFIG_PPC_EARLY_DEBUG 69#ifdef CONFIG_PPC_EARLY_DEBUG
70 console_loglevel = 10; 70 console_loglevel = 10;
71
72 register_early_udbg_console();
71#endif 73#endif
72} 74}
73 75
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c
index 39e6e0a7b2fa..e3a96c4348ab 100644
--- a/arch/powerpc/platforms/pseries/lpar.c
+++ b/arch/powerpc/platforms/pseries/lpar.c
@@ -193,8 +193,6 @@ void __init udbg_init_debug_lpar(void)
193 udbg_putc = udbg_putcLP; 193 udbg_putc = udbg_putcLP;
194 udbg_getc = udbg_getcLP; 194 udbg_getc = udbg_getcLP;
195 udbg_getc_poll = udbg_getc_pollLP; 195 udbg_getc_poll = udbg_getc_pollLP;
196
197 register_early_udbg_console();
198} 196}
199 197
200/* returns 0 if couldn't find or use /chosen/stdout as console */ 198/* returns 0 if couldn't find or use /chosen/stdout as console */