vserver 1.9.5.x5
[linux-2.6.git] / arch / parisc / kernel / pdc_cons.c
index 8072e38..01f676d 100644 (file)
@@ -71,6 +71,19 @@ void pdc_outc(unsigned char c)
        pdc_iodc_outc(c);
 }
 
+void pdc_printf(const char *fmt, ...)
+{
+       va_list args;
+       char buf[1024];
+       int i, len;
+
+       va_start(args, fmt);
+       len = vscnprintf(buf, sizeof(buf), fmt, args);
+       va_end(args);
+
+       for (i = 0; i < len; i++)
+               pdc_iodc_outc(buf[i]);
+}
 
 int pdc_console_poll_key(struct console *co)
 {