diff options
Diffstat (limited to 'arch/parisc/kernel/pdc_cons.c')
-rw-r--r-- | arch/parisc/kernel/pdc_cons.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c index aab05767427c..33b1f84441b1 100644 --- a/arch/parisc/kernel/pdc_cons.c +++ b/arch/parisc/kernel/pdc_cons.c | |||
@@ -55,13 +55,7 @@ | |||
55 | 55 | ||
56 | static void pdc_console_write(struct console *co, const char *s, unsigned count) | 56 | static void pdc_console_write(struct console *co, const char *s, unsigned count) |
57 | { | 57 | { |
58 | while(count--) | 58 | pdc_iodc_print(s, count); |
59 | pdc_iodc_putc(*s++); | ||
60 | } | ||
61 | |||
62 | void pdc_outc(unsigned char c) | ||
63 | { | ||
64 | pdc_iodc_outc(c); | ||
65 | } | 59 | } |
66 | 60 | ||
67 | void pdc_printf(const char *fmt, ...) | 61 | void pdc_printf(const char *fmt, ...) |
@@ -74,8 +68,7 @@ void pdc_printf(const char *fmt, ...) | |||
74 | len = vscnprintf(buf, sizeof(buf), fmt, args); | 68 | len = vscnprintf(buf, sizeof(buf), fmt, args); |
75 | va_end(args); | 69 | va_end(args); |
76 | 70 | ||
77 | for (i = 0; i < len; i++) | 71 | pdc_iodc_print(buf, len); |
78 | pdc_iodc_outc(buf[i]); | ||
79 | } | 72 | } |
80 | 73 | ||
81 | int pdc_console_poll_key(struct console *co) | 74 | int pdc_console_poll_key(struct console *co) |