diff mbox

boot time optimization

Message ID 4AD6C8D3.4000409@cynove.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jean-Philippe François Oct. 15, 2009, 7:01 a.m. UTC
None
diff mbox

Patch

Index: .kernel/kernel/printk.c
===================================================================
--- .kernel.orig/kernel/printk.c	2009-02-28 02:52:32.000000000 +0100
+++ .kernel/kernel/printk.c	2009-04-30 14:12:29.000000000 +0200
@@ -41,6 +41,7 @@ 
 {
 }
 
+extern void printascii(const char *);
 #define __LOG_BUF_LEN	(1 << CONFIG_LOG_BUF_SHIFT)
 
 /* printk's without a loglevel use this.. */
@@ -552,7 +553,7 @@ 
 
 	/* Emit the output into the temporary buffer */
 	printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt, args);
-
+        printascii(printk_buf);
 	if (printed_len > 0) {
 		unsigned int loglevel;
 		int mark_len;