From 3c16bd7bb0a2b00b71f65bb0075e0c94d0fcc777 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Mon, 7 May 2012 10:28:21 -0700 Subject: Revert: ARM: Make low-level printk work Per Andy's request, revert 109a3af. Andy's rational: "I don't think that makes any sense any more and should be removed, unless there's some case on Android side that really needs it. Vanilla has better DEBUG_LL support now since 2005 when that patch was introduced and the Android kernels will inherit it. I've reverted it in my tree since we commonly need DEBUG_LL on (but we don't need printascii garbling all our logging as if there was an echo in there)." Signed-off-by: John Stultz --- kernel/printk.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kernel/printk.c b/kernel/printk.c index a4280499db0..45ac7560d7b 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -56,10 +56,6 @@ 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 @@ -935,10 +931,6 @@ 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 */ -- cgit v1.2.3