[generic] add some missing 2.6.39 kernel symbols observed on x86/generic builds
[openwrt.git] / target / linux / cns21xx / patches-2.6.36 / 002-arm-debugll-printk.patch
1 --- a/kernel/printk.c
2 +++ b/kernel/printk.c
3 @@ -48,6 +48,10 @@
4 #define for_each_console(con) \
5 for (con = console_drivers; con != NULL; con = con->next)
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 @@ -760,6 +764,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 * appropriate log level tags, we insert them here
This page took 0.049798 seconds and 5 git commands to generate.