aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-07 17:40:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-07 17:40:06 +0000
commit6509d0f6a06aac7eb23884e66cc4d980400808b6 (patch)
tree6f67376c29f517f6afcdf0e78579fd7d94d4df99 /target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch
parent94808b59b4df866fb8c5dc05c1f8ad0509b84e80 (diff)
downloadupstream-6509d0f6a06aac7eb23884e66cc4d980400808b6.tar.gz
upstream-6509d0f6a06aac7eb23884e66cc4d980400808b6.tar.bz2
upstream-6509d0f6a06aac7eb23884e66cc4d980400808b6.zip
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 0000000000..f1bf48dd54
--- /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