aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-18 20:45:49 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-07-18 20:45:49 +0000
commit6f6b8feae6d38ecf958095f909d78ca3863f34e6 (patch)
treeb012a1289ac6e30534bd1443b8984dea0a823896 /target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
parent5a331a91aab9fe37b4f1947d70abb8d5877ea1df (diff)
downloadupstream-6f6b8feae6d38ecf958095f909d78ca3863f34e6.tar.gz
upstream-6f6b8feae6d38ecf958095f909d78ca3863f34e6.tar.bz2
upstream-6f6b8feae6d38ecf958095f909d78ca3863f34e6.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> SVN-Revision: 41737
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;
+