From: Tony Lindgren Date: Tue, 29 Apr 2008 05:41:15 +0000 (-0700) Subject: Add back low-level debug hack X-Git-Tag: v2.6.26-omap1~123^2~165 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b1224e0086dc0b27a5af1e7b4f59709521569060;p=linux-2.6-omap-h63xx.git Add back low-level debug hack Add back low-level debug hack Signed-off-by: Tony Lindgren --- diff --git a/kernel/printk.c b/kernel/printk.c index bdd4ea8c3f2..6ad3e526c84 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -44,6 +44,10 @@ void __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 */ @@ -715,6 +719,10 @@ 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 * appropriate log level tags, we insert them here