X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fprintk.c;h=4d6ebdc2b972954ce506b709a4091c6aa9216433;hb=7015ee1b6e535738eb2905c428f6707fc65f3902;hp=5052b5497c67995f57c6b548b0b52c1989f4027b;hpb=d835305bc4d831af86e26beb0fdaadf8f55e82e4;p=linux-2.6-omap-h63xx.git diff --git a/kernel/printk.c b/kernel/printk.c index 5052b5497c6..4d6ebdc2b97 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -45,6 +45,10 @@ void asmlinkage __attribute__((weak)) early_printk(const char *fmt, ...) #define __LOG_BUF_LEN (1 << CONFIG_LOG_BUF_SHIFT) +#ifdef CONFIG_DEBUG_LL +extern void printascii(char *); +#endif + /* printk's without a loglevel use this.. */ #define DEFAULT_MESSAGE_LOGLEVEL 4 /* KERN_WARNING */ @@ -686,6 +690,9 @@ asmlinkage int vprintk(const char *fmt, va_list args) printed_len += vscnprintf(printk_buf + printed_len, sizeof(printk_buf) - printed_len, fmt, args); +#ifdef CONFIG_DEBUG_LL + printascii(printk_buf); +#endif /* * Copy the output into log_buf. If the caller didn't provide