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
This commit is contained in:
24
target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
Normal file
24
target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch
Normal file
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user