]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: Make low-level printk work
authorTony Lindgren <tony@atomide.com>
Mon, 9 May 2005 21:10:26 +0000 (14:10 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 9 May 2005 21:10:26 +0000 (14:10 -0700)
Makes low-level printk work.

Signed-off-by: Tony Lindgren <tony@atomide.com>
kernel/printk.c

index 290a07ce2c8a8029089d24304ea216bf8b937ade..51c09cde82e75b701023be7026b4e905b844e494 100644 (file)
 
 #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 */
 
@@ -567,6 +571,10 @@ asmlinkage int vprintk(const char *fmt, va_list args)
        /* Emit the output into the temporary buffer */
        printed_len = vscnprintf(printk_buf, sizeof(printk_buf), 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