pxa: add support for kernel 3.10
[openwrt/staging/yousong.git] / target / linux / pxa / patches-3.10 / a01-arm-debugll-printk.patch
1 --- a/kernel/printk.c
2 +++ b/kernel/printk.c
3 @@ -48,6 +48,10 @@
4
5 #include <asm/uaccess.h>
6
7 +#ifdef CONFIG_DEBUG_LL
8 +extern void printascii(char *);
9 +#endif /* CONFIG_DEBUG_LL */
10 +
11 #define CREATE_TRACE_POINTS
12 #include <trace/events/printk.h>
13
14 @@ -1578,6 +1582,10 @@ asmlinkage int vprintk_emit(int facility
15 }
16 }
17
18 +#ifdef CONFIG_DEBUG_LL
19 + printascii(printk_buf);
20 +#endif
21 +
22 if (level == -1)
23 level = default_message_loglevel;
24