summaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-07 17:40:06 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-07 17:40:06 +0000
commit74bfc39816d655d93ce2641ca314aec767b08726 (patch)
tree6f67376c29f517f6afcdf0e78579fd7d94d4df99 /target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch
parentd0c031a4f54b00d633a4d662d875a75c4bf9b179 (diff)
pxa: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31641 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch')
-rw-r--r--target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch b/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch
new file mode 100644
index 000000000..f1bf48dd5
--- /dev/null
+++ b/target/linux/pxa/patches-3.3/a01-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