diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-07 17:40:06 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-07 17:40:06 +0000 |
commit | b284c0e804c5eefadf5146020f032966ceb86eb9 (patch) | |
tree | dabb218ee189b4e799e6fe1b33e17ade7027e70a /target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch | |
parent | 1a01559520512f161686152837b382144d2ff041 (diff) | |
download | upstream-b284c0e804c5eefadf5146020f032966ceb86eb9.tar.gz upstream-b284c0e804c5eefadf5146020f032966ceb86eb9.tar.bz2 upstream-b284c0e804c5eefadf5146020f032966ceb86eb9.zip |
pxa: add support for 3.3
SVN-Revision: 31641
Diffstat (limited to 'target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch')
-rw-r--r-- | target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch b/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch new file mode 100644 index 0000000000..f1bf48dd54 --- /dev/null +++ b/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch @@ -0,0 +1,24 @@ +--- a/kernel/printk.c ++++ b/kernel/printk.c +@@ -44,6 +44,10 @@ + + #include <asm/uaccess.h> + ++#ifdef CONFIG_DEBUG_LL ++extern void printascii(char *); ++#endif /* CONFIG_DEBUG_LL */ ++ + /* + * Architectures can override it: + */ +@@ -900,6 +904,10 @@ asmlinkage int vprintk(const char *fmt, + } + } + ++#ifdef CONFIG_DEBUG_LL ++ printascii(printk_buf); ++#endif ++ + /* + * Copy the output into log_buf. If the caller didn't provide + * the appropriate log prefix, we insert them here |