mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08: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:
committed by
Arve Hjønnevåg
parent
bebadf46e9
commit
4f97a420c5
@@ -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
|
||||
|
||||
@@ -1552,6 +1556,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--;
|
||||
|
||||
Reference in New Issue
Block a user