diff options
| author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 |
|---|---|---|
| committer | Brian Swetland <swetland@google.com> | 2011-03-29 13:57:00 -0700 |
| commit | bbba6c211725296521f62543ba3adac716f40d0d (patch) | |
| tree | aa8921b6c196dc25a9e0e0ca1fad31028e3a6c4e /kernel | |
| parent | 428441612c76606c393dfd763bdc9c580ecafb24 (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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 36231525e22f..53b48047b3b3 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -52,6 +52,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 4 /* KERN_WARNING */ @@ -773,6 +777,9 @@ 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; |
