cns21xx: add support for 3.2
[openwrt.git] / target / linux / cns21xx / patches-3.2 / 002-arm-debugll-printk.patch
1 --- a/kernel/printk.c
2 +++ b/kernel/printk.c
3 @@ -44,6 +44,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 /*
12 * Architectures can override it:
13 */
14 @@ -897,6 +901,10 @@ asmlinkage int vprintk(const char *fmt,
15 }
16 }
17
18 +#ifdef CONFIG_DEBUG_LL
19 + printascii(printk_buf);
20 +#endif
21 +
22 /*
23 * Copy the output into log_buf. If the caller didn't provide
24 * the appropriate log prefix, we insert them here
This page took 0.053992 seconds and 5 git commands to generate.