diff options
author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2009-04-07 16:14:22 -0700 |
commit | 0c61b75f9da1a0889959a0f9bd0b8b63f936ddf3 (patch) | |
tree | 9a91834c047d3dcc17b35cd1b99a1a511d5cc9ff /kernel | |
parent | 10c7ea5afdedf1b9adeda6abce3f7208af0885fa (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 e3602d0755b0..e39866e0a5ab 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -44,6 +44,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 */ @@ -668,6 +672,10 @@ asmlinkage int vprintk(const char *fmt, va_list args) sizeof(printk_buf) - printed_len, fmt, args); +#ifdef CONFIG_DEBUG_LL + printascii(printk_buf); +#endif + /* * Copy the output into log_buf. If the caller didn't provide * appropriate log level tags, we insert them here |