diff options
| author | Tony Lindgren <tony@atomide.com> | 2005-05-09 14:10:26 -0700 | 
|---|---|---|
| committer | Arve Hjønnevåg <arve@android.com> | 2013-07-01 13:38:49 -0700 | 
| commit | 4f97a420c5e1c7beff2ebc8d69fa439a448d1eca (patch) | |
| tree | 3463215b038a85b4b5d9c7997c1b5f5657475e89 /kernel/printk.c | |
| parent | bebadf46e98874f1a18f2bcae73248ede371795b (diff) | |
| download | olio-linux-3.10-4f97a420c5e1c7beff2ebc8d69fa439a448d1eca.tar.xz olio-linux-3.10-4f97a420c5e1c7beff2ebc8d69fa439a448d1eca.zip | |
ARM: Make low-level printk work
Makes low-level printk work.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'kernel/printk.c')
| -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 8212c1aef12..9cb84eb1a9d 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -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--; |