diff options
author | John Stultz <john.stultz@linaro.org> | 2013-05-21 10:00:44 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-05-21 10:00:44 -0700 |
commit | 1da455354b4a8ff3bc9c5f66f5a174b13e179ae6 (patch) | |
tree | f873ee370af68d3676c4cbafd1b36bebbdaa6a8b | |
parent | 1f76bce8544acd38f7bb1e822540f8ca521e1b7f (diff) |
Revert "ARM: Make low-level printk work"
This reverts commit 63d454ab530bb3ab5412aabd6be6ee8cd340888e.
Per Andy's request,
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).
...[It] basically forces all printk output down printascii() which is
not what we want.
earlyprintk=1 earlycon=ttyO2,115200n8
On your commandline will get you going [without this]"
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r-- | kernel/printk.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 40338e7d6c71..abbdd9e2ac82 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -56,10 +56,6 @@ void asmlinkage __attribute__((weak)) early_printk(const char *fmt, ...) { } -#ifdef CONFIG_DEBUG_LL -extern void printascii(char *); -#endif - /* printk's without a loglevel use this.. */ #define DEFAULT_MESSAGE_LOGLEVEL CONFIG_DEFAULT_MESSAGE_LOGLEVEL @@ -1551,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--; |