[PARISC] print more than one character at a time for pdc console
[sfrench/cifs-2.6.git] / arch / parisc / kernel / pdc_cons.c
index aab05767427c66222b0393c9aa38aedef9d00944..33b1f84441b14e4076e077432c1212cd74b681a3 100644 (file)
 
 static void pdc_console_write(struct console *co, const char *s, unsigned count)
 {
-       while(count--)
-               pdc_iodc_putc(*s++);
-}
-
-void pdc_outc(unsigned char c)
-{
-       pdc_iodc_outc(c);
+       pdc_iodc_print(s, count);
 }
 
 void pdc_printf(const char *fmt, ...)
@@ -74,8 +68,7 @@ void pdc_printf(const char *fmt, ...)
        len = vscnprintf(buf, sizeof(buf), fmt, args);
        va_end(args);
 
-       for (i = 0; i < len; i++)
-               pdc_iodc_outc(buf[i]);
+       pdc_iodc_print(buf, len);
 }
 
 int pdc_console_poll_key(struct console *co)