summaryrefslogtreecommitdiff
path: root/packages/linux/linux-orion/earlydebug.patch
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 12:28:42 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 12:28:42 +0000
commit5f7f10f181bdc127786fce9a43e4ca71ae4ab03c (patch)
tree2e9a8db8014a1db2508bbdbdd4e10f79198ec1e8 /packages/linux/linux-orion/earlydebug.patch
parent47a8e4676a853cb172da56e75341f096ed140dcf (diff)
linux-orion: Add kernel for Marvell Orion based devices (replaces linux-linkstationarm), initially supporting:
* D-Link DNS-323 * Many Buffalo Linkstation Pro variants * Kurobox Pro * QNAP TS-109, TS-209, TS-409 * HP MV2120
Diffstat (limited to 'packages/linux/linux-orion/earlydebug.patch')
-rw-r--r--packages/linux/linux-orion/earlydebug.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/linux/linux-orion/earlydebug.patch b/packages/linux/linux-orion/earlydebug.patch
new file mode 100644
index 0000000000..07d08f3231
--- /dev/null
+++ b/packages/linux/linux-orion/earlydebug.patch
@@ -0,0 +1,22 @@
+diff --git a/kernel/printk.c b/kernel/printk.c
+index a30fe33..9758c4f 100644
+--- a/kernel/printk.c
++++ b/kernel/printk.c
+@@ -16,6 +16,8 @@
+ * 01Mar01 Andrew Morton <andrewm@uow.edu.au>
+ */
+
++extern void printascii(const char *);
++
+ #include <linux/kernel.h>
+ #include <linux/mm.h>
+ #include <linux/tty.h>
+@@ -653,6 +655,8 @@ asmlinkage int vprintk(const char *fmt, va_list args)
+ /* 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