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 | 6509d0f6a06aac7eb23884e66cc4d980400808b6 (patch) | |
tree | 6f67376c29f517f6afcdf0e78579fd7d94d4df99 /target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch | |
parent | 94808b59b4df866fb8c5dc05c1f8ad0509b84e80 (diff) | |
download | master-187ad058-6509d0f6a06aac7eb23884e66cc4d980400808b6.tar.gz master-187ad058-6509d0f6a06aac7eb23884e66cc4d980400808b6.tar.bz2 master-187ad058-6509d0f6a06aac7eb23884e66cc4d980400808b6.zip |
pxa: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31641 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |