diff options
author | Jan Lübbe <jluebbe@debian.org> | 2007-10-14 12:13:49 +0000 |
---|---|---|
committer | Jan Lübbe <jluebbe@debian.org> | 2007-10-14 12:13:49 +0000 |
commit | 966c5a872148409491bd948d3fb1012391447421 (patch) | |
tree | 79d13504a74d70e78ebf4270c3ee46419d920578 /packages/linux/linux-openmoko-devel/printascii-2.6.23.patch | |
parent | 953d19644c35cc81587295ad56f68d47b02c7fc0 (diff) |
linux-openmoko-devel: add missing patches (thanks mickey)
Diffstat (limited to 'packages/linux/linux-openmoko-devel/printascii-2.6.23.patch')
-rw-r--r-- | packages/linux/linux-openmoko-devel/printascii-2.6.23.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/linux/linux-openmoko-devel/printascii-2.6.23.patch b/packages/linux/linux-openmoko-devel/printascii-2.6.23.patch new file mode 100644 index 0000000000..4818ac6bfc --- /dev/null +++ b/packages/linux/linux-openmoko-devel/printascii-2.6.23.patch @@ -0,0 +1,21 @@ +Index: linux-2.6.22/kernel/printk.c +=================================================================== +--- linux-2.6.22.orig/kernel/printk.c ++++ linux-2.6.22/kernel/printk.c +@@ -519,6 +519,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; +@@ -541,6 +543,7 @@ + + /* 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 |