summaryrefslogtreecommitdiff
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-17 18:18:46 -0700
commite608a1e336aec6026cf4c06391f4d06169eafdc4 (patch)
tree0f767283d9e9b10c71a926963c6f3979f5c384d1
parent1361c3426d2640542346c09ac686c2691c1e1275 (diff)
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>
-rw-r--r--kernel/printk.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index a4280499db0f..45ac7560d7b3 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 */