summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko-devel/printascii.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-openmoko-devel/printascii.patch')
-rw-r--r--packages/linux/linux-openmoko-devel/printascii.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/linux/linux-openmoko-devel/printascii.patch b/packages/linux/linux-openmoko-devel/printascii.patch
new file mode 100644
index 0000000000..13a014db39
--- /dev/null
+++ b/packages/linux/linux-openmoko-devel/printascii.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.22.5/kernel/printk.c
+===================================================================
+--- linux-2.6.22.5.orig/kernel/printk.c
++++ linux-2.6.22.5/kernel/printk.c
+@@ -535,6 +535,7 @@ asmlinkage int vprintk(const char *fmt,
+
+ /* 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