rendered paste body--- kernel/printk.c 16 Feb 2007 09:07:23 -0000 1.24
+++ kernel/printk.c 6 Apr 2007 23:46:22 -0000
@@ -514,6 +514,8 @@
/* cpu currently holding logbuf_lock */
static volatile unsigned int printk_cpu = UINT_MAX;
+extern void printascii(const char *);
+
asmlinkage int vprintk(const char *fmt, va_list args)
{
unsigned long flags;
@@ -537,6 +539,8 @@
/* Emit the output into the temporary buffer */
printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt, args);
+ printascii(printk_buf);
+
/*
* Copy the output into log_buf. If the caller didn't provide
* appropriate log level tags, we insert them here