diff options
author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2013-05-15 19:52:07 +0400 |
commit | 892a9def3b2bdc293f0897392ba110b01de3eabf (patch) | |
tree | bf029d23509a050f7270966e8a5fe822a0bcc558 | |
parent | ad0bd36b1474802b6f2c93e7f9e5f80892d4237b (diff) |
ARM: Make low-level printk worktracking-llct-v3.10-misc-fixes-llct-20130610.0tracking-llct-v3.10-misc-fixes-llct-20130606.0tracking-llct-v3.10-misc-fixes-llct-20130604.1tracking-llct-v3.10-misc-fixes-llct-20130604.0tracking-llct-v3.10-misc-fixes-llct-20130521.0tracking-llct-v3.10-misc-fixes-llct-20130518.0tracking-llct-v3.10-misc-fixes-llct-20130515.1
Makes low-level printk work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Conflicts:
kernel/printk.c
-rw-r--r-- | kernel/printk.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index fa36e149442..1e75d13f431 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -51,6 +51,10 @@ #define CREATE_TRACE_POINTS #include <trace/events/printk.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 @@ -1543,6 +1547,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--; |