summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-05-07 10:28:21 -0700
committerJohn Stultz <john.stultz@linaro.org>2012-05-21 16:04:42 -0700
commit3c16bd7bb0a2b00b71f65bb0075e0c94d0fcc777 (patch)
tree405298f68ddf7263f70d80d014e264fcf592c6a2 /kernel
parent8c117a0d2fd3380deb63f812faf53b30f20dbc13 (diff)
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 <john.stultz@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk.c8
1 files changed, 0 insertions, 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 */