Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9deaf1b authored by Tony Lindgren's avatar Tony Lindgren Committed by Dmitry Shmidt
Browse files

ANDROID: ARM: Make low-level printk work



Makes low-level printk work.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6d6ef30e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -56,6 +56,10 @@
#include "braille.h"
#include "internal.h"

#ifdef CONFIG_DEBUG_LL
extern void printascii(char *);
#endif

int console_printk[4] = {
	CONSOLE_LOGLEVEL_DEFAULT,	/* console_loglevel */
	MESSAGE_LOGLEVEL_DEFAULT,	/* default_message_loglevel */
@@ -1842,6 +1846,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--;