diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-20 15:24:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-20 15:24:57 +0000 |
commit | 411745524be004491b90bbd1b9605771ae1cacb4 (patch) | |
tree | 1460c8c7f8e984d08d03088b638b6d3aaa7b85d4 /target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch | |
parent | 9d93fe6bd5100184290c517ee64cd248385a0e8c (diff) | |
download | upstream-411745524be004491b90bbd1b9605771ae1cacb4.tar.gz upstream-411745524be004491b90bbd1b9605771ae1cacb4.tar.bz2 upstream-411745524be004491b90bbd1b9605771ae1cacb4.zip |
cns21xx: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31379 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch')
-rw-r--r-- | target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch b/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch new file mode 100644 index 0000000000..f1bf48dd54 --- /dev/null +++ b/target/linux/cns21xx/patches-3.3/002-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 |