aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-20 15:24:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-20 15:24:57 +0000
commitd1af54855780afeac6ee21292bdb917d090f2aa7 (patch)
tree0aa3828a41922911364951c6d758bfd1bd7f3320 /target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch
parent434655d4607a5f7eb403d8af00158ba3c7152bba (diff)
downloadupstream-d1af54855780afeac6ee21292bdb917d090f2aa7.tar.gz
upstream-d1af54855780afeac6ee21292bdb917d090f2aa7.tar.bz2
upstream-d1af54855780afeac6ee21292bdb917d090f2aa7.zip
cns21xx: add support for 3.3
SVN-Revision: 31379
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 0000000000..f1bf48dd54
--- /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