diff options
author | Kyle McMartin <kyle@shortfin.cabal.ca> | 2007-12-06 09:32:15 -0800 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2007-12-06 09:32:15 -0800 |
commit | 721fdf34167580ff98263c74cead8871d76936e6 (patch) | |
tree | e3ab5c95cea22135d5205a8f2438a79222cd6ff2 /arch/parisc/kernel/pdc_cons.c | |
parent | ac6aecbf0541ca277e6492fdf7c91e46e1fc4171 (diff) |
[PARISC] print more than one character at a time for pdc console
There's really no reason not to print more than one character at a
time to the PDC console... Booting is measurably speedier, and now I don't
have to watch individual characters get drawn.
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
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 aab05767427..33b1f84441b 100644 --- a/arch/parisc/kernel/pdc_cons.c +++ b/arch/parisc/kernel/pdc_cons.c @@ -55,13 +55,7 @@ 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) |