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

index a508e2939ac512b9531c5d4e88153e8110623f6f..504f26471fd1cba1ada990b8118ed8cbfcb1f5dc 100644 (file)
@@ -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;