mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
ARM: Make low-level printk work
Makes low-level printk work. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
054651f253
commit
76b39908bb
|
|
@ -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
|
||||
|
||||
|
|
@ -872,6 +876,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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user