summaryrefslogtreecommitdiffstats
path: root/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-20 15:24:57 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-20 15:24:57 +0000
commit312e64a8db356741211f48be332a1b06712642ea (patch)
tree1460c8c7f8e984d08d03088b638b6d3aaa7b85d4 /target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
parentbbdc13d47fb3aa223e1b2d6a0d54bcc524a5b50a (diff)
cns21xx: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31379 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch')
-rw-r--r--target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch b/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
new file mode 100644
index 000000000..f1bf48dd5
--- /dev/null
+++ b/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
@@ -0,0 +1,24 @@
+--- a/kernel/printk.c
++++ b/kernel/printk.c
+@@ -44,6 +44,10 @@
+
+ #include <asm/uaccess.h>
+
++#ifdef CONFIG_DEBUG_LL
++extern void printascii(char *);
++#endif /* CONFIG_DEBUG_LL */
++
+ /*
+ * Architectures can override it:
+ */
+@@ -900,6 +904,10 @@ asmlinkage int vprintk(const char *fmt,
+ }
+ }
+
++#ifdef CONFIG_DEBUG_LL
++ printascii(printk_buf);
++#endif
++
+ /*
+ * Copy the output into log_buf. If the caller didn't provide
+ * the appropriate log prefix, we insert them here