aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2005-05-09 14:10:26 -0700
committerColin Cross <ccross@android.com>2014-03-19 13:02:00 -0700
commiteada7ab14e46ee12ccb587ab361caca9bfa61a33 (patch)
treec47322f6b764595f63ba65a10cd3a1476f9f3a77
parent93d752ddb17b19282e489386abb90447b9263e27 (diff)
ARM: Make low-level printk work
Makes low-level printk work. Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--kernel/printk/printk.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 4dae9cbe9259..521a0c7155a3 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -54,6 +54,10 @@
#include "console_cmdline.h"
#include "braille.h"
+#ifdef CONFIG_DEBUG_LL
+extern void printascii(char *);
+#endif
+
/* printk's without a loglevel use this.. */
#define DEFAULT_MESSAGE_LOGLEVEL CONFIG_DEFAULT_MESSAGE_LOGLEVEL
@@ -1542,6 +1546,10 @@ asmlinkage int vprintk_emit(int facility, int level,
*/
text_len = vscnprintf(text, sizeof(textbuf), fmt, args);
+#ifdef CONFIG_DEBUG_LL
+ printascii(text);
+#endif
+
/* mark and strip a trailing newline */
if (text_len && text[text_len-1] == '\n') {
text_len--;