diff options
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/cpm_common.c b/arch/powerpc/sysdev/cpm_common.c index 9b75d164bdf..e4b7296acb2 100644 --- a/arch/powerpc/sysdev/cpm_common.c +++ b/arch/powerpc/sysdev/cpm_common.c | |||
@@ -37,7 +37,7 @@ static void udbg_putc_cpm(char c) | |||
37 | u8 __iomem *txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); | 37 | u8 __iomem *txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); |
38 | 38 | ||
39 | if (c == '\n') | 39 | if (c == '\n') |
40 | udbg_putc('\r'); | 40 | udbg_putc_cpm('\r'); |
41 | 41 | ||
42 | while (in_be32(&cpm_udbg_txdesc[0]) & 0x80000000) | 42 | while (in_be32(&cpm_udbg_txdesc[0]) & 0x80000000) |
43 | ; | 43 | ; |
@@ -53,7 +53,6 @@ void __init udbg_init_cpm(void) | |||
53 | setbat(1, 0xf0000000, 0xf0000000, 1024*1024, _PAGE_IO); | 53 | setbat(1, 0xf0000000, 0xf0000000, 1024*1024, _PAGE_IO); |
54 | #endif | 54 | #endif |
55 | udbg_putc = udbg_putc_cpm; | 55 | udbg_putc = udbg_putc_cpm; |
56 | udbg_putc('X'); | ||
57 | } | 56 | } |
58 | } | 57 | } |
59 | #endif | 58 | #endif |