summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2005-05-09 14:10:26 -0700
committerArve Hjønnevåg <arve@android.com>2010-02-03 20:48:10 -0800
commit39078ee4d12d5b33108f9c56c24cc9c31d1d54bd (patch)
tree9fbe81f324a65f3768aaa093f9f0605c8de0c883 /kernel
parent034309060232c703e843b6b63d35f3a56f9dd2c4 (diff)
ARM: Make low-level printk work
Makes low-level printk work. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index f38b07f78a4e..0221437f1eab 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -51,6 +51,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 */
@@ -714,6 +718,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
p = printk_buf;