diff options
author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:37:50 -0800 |
commit | 63fffb8678658281037f6aea0597a3e944887af9 (patch) | |
tree | f6122d3cf3c0c347c5476e5bd3d6d8de9f866dca /kernel | |
parent | e86629bfbc310efcc083bfbce7ef6963654f6e0c (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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 28a40d8171b8..3e565d1cd9da 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -53,6 +53,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 CONFIG_DEFAULT_MESSAGE_LOGLEVEL @@ -876,6 +880,10 @@ 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; /* Read log level and handle special printk prefix */ |