From: Tony Lindgren Date: Mon, 9 May 2005 21:10:26 +0000 (-0700) Subject: ARM: Make low-level printk work X-Git-Tag: firefly_0821_release~4090^2~886 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4f97a420c5e1c7beff2ebc8d69fa439a448d1eca;p=firefly-linux-kernel-4.4.55.git ARM: Make low-level printk work Makes low-level printk work. Signed-off-by: Tony Lindgren --- diff --git a/kernel/printk.c b/kernel/printk.c index 8212c1aef125..9cb84eb1a9de 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -51,6 +51,10 @@ #define CREATE_TRACE_POINTS #include +#ifdef CONFIG_DEBUG_LL +extern void printascii(char *); +#endif + /* printk's without a loglevel use this.. */ #define DEFAULT_MESSAGE_LOGLEVEL CONFIG_DEFAULT_MESSAGE_LOGLEVEL @@ -1552,6 +1556,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--;