In my tree I have this patch on top of llct to get rid of that nasty echo
diff --git a/kernel/printk.c b/kernel/printk.c index 1e75d13..97f950d 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -1547,10 +1547,6 @@ 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--;
On 13 June 2013 17:29, Javi Merino javi.merino@arm.com wrote:
Hi,
Linaro kernels include a patch by Tony Lindgren that adds a printascii() to every printk() call. Currently in linux-linaro-tracking, that's 892a9def (ARM: Make low-level printk work). With this patch, every line is printed twice once you've registered a console driver which is a bit of a pain. Speaking to him, he acknowledges that this hack is no longer needed since we now have earlyprintk, so can this patch be removed from linaro kernels?
Cheers, Javi
PS: Please CC me, I'm not subscribed to the list
linaro-kernel mailing list linaro-kernel@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-kernel