[x86] Fix sysupgrade for squashfs, jffs2 and ext4 images
[openwrt/svn-archive/archive.git] / target / linux / pxa / patches-3.3 / a01-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 @@ -900,6 +904,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