aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-07-18 20:45:49 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-07-18 20:45:49 +0000
commit900401e5b0d1aa363ff7c5739c1213e94713ea64 (patch)
treef89c19f0d66db6daf818b39afb1bdeff9433aedb /target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
parent174cd5589c8826482eaba76787e115464d0942c3 (diff)
downloadmaster-187ad058-900401e5b0d1aa363ff7c5739c1213e94713ea64.tar.gz
master-187ad058-900401e5b0d1aa363ff7c5739c1213e94713ea64.tar.bz2
master-187ad058-900401e5b0d1aa363ff7c5739c1213e94713ea64.zip
pxa: add support for kernel 3.10
This is compile tested only, please run test and report back. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41737 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch')
-rw-r--r--target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch b/target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
new file mode 100644
index 0000000000..874e5d302b
--- /dev/null
+++ b/target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
@@ -0,0 +1,24 @@
+--- a/kernel/printk.c
++++ b/kernel/printk.c
+@@ -48,6 +48,10 @@
+
+ #include <asm/uaccess.h>
+
++#ifdef CONFIG_DEBUG_LL
++extern void printascii(char *);
++#endif /* CONFIG_DEBUG_LL */
++
+ #define CREATE_TRACE_POINTS
+ #include <trace/events/printk.h>
+
+@@ -1578,6 +1582,10 @@ asmlinkage int vprintk_emit(int facility
+ }
+ }
+
++#ifdef CONFIG_DEBUG_LL
++ printascii(printk_buf);
++#endif
++
+ if (level == -1)
+ level = default_message_loglevel;
+