diff options
author | James <> | 2015-09-26 12:29:31 +0100 |
---|---|---|
committer | James <> | 2015-09-26 12:29:31 +0100 |
commit | 626d9efa74685720020e816f3a917b7591d3cf7a (patch) | |
tree | d22eef73ae82287b30a1140decb4fc806d39d621 /target/linux/pxa/patches-3.10/a01-arm-debugll-printk.patch | |
download | trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.gz trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.bz2 trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.zip |
trunk-47048
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.patch | 24 |
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 0000000..874e5d3 --- /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; + |