diff options
| author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:54:01 -0800 |
| commit | 3200304ca37de8cdcce2b880c619a08537518592 (patch) | |
| tree | f2ee0d31cb17d29e98f80fd4273cb2fea40a5a12 /kernel/printk/printk.c | |
| parent | 219757ca8b2be3713e2780a5f35faf90fa4fa371 (diff) | |
ARM: Make low-level printk work
Makes low-level printk work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'kernel/printk/printk.c')
| -rw-r--r-- | kernel/printk/printk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 2ce8826f1053..eeee1032667f 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -55,6 +55,10 @@ #include "console_cmdline.h" #include "braille.h" +#ifdef CONFIG_DEBUG_LL +extern void printascii(char *); +#endif + int console_printk[4] = { CONSOLE_LOGLEVEL_DEFAULT, /* console_loglevel */ MESSAGE_LOGLEVEL_DEFAULT, /* default_message_loglevel */ @@ -1724,6 +1728,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--; |
