projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7d368
)
Revert "ARM: Make low-level printk work"
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:55 +0000
(23:09 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 15:09:55 +0000
(23:09 +0800)
This reverts commit
39078ee4d12d5b33108f9c56c24cc9c31d1d54bd
.
kernel/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk.c
b/kernel/printk.c
index a508e2939ac512b9531c5d4e88153e8110623f6f..504f26471fd1cba1ada990b8118ed8cbfcb1f5dc 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-51,10
+51,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 4 /* KERN_WARNING */
@@
-718,9
+714,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;