summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.11.5/mips-lzo-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-29 16:06:00 +0100
commit8e8512391c668fc7074f812f15eabe8f176fb01e (patch)
treef9f0862dd6eb962fe3fc4803180b431843f6c5be /target/linux/patches/3.11.5/mips-lzo-fix.patch
parentc491653a1f9574a42965025805d472c3d145f699 (diff)
parentae3d4616ed9c19a29d656193254657f93d612fa2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.11.5/mips-lzo-fix.patch')
-rw-r--r--target/linux/patches/3.11.5/mips-lzo-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.11.5/mips-lzo-fix.patch b/target/linux/patches/3.11.5/mips-lzo-fix.patch
new file mode 100644
index 000000000..0740bdc6a
--- /dev/null
+++ b/target/linux/patches/3.11.5/mips-lzo-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c linux-3.11.5/arch/mips/boot/compressed/decompress.c
+--- linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/mips/boot/compressed/decompress.c 2013-11-08 18:19:47.000000000 +0100
+@@ -43,7 +43,7 @@
+ /* activate the code for pre-boot environment */
+ #define STATIC static
+
+-#ifdef CONFIG_KERNEL_GZIP
++#if defined(CONFIG_KERNEL_GZIP) || defined(CONFIG_KERNEL_LZO)
+ void *memcpy(void *dest, const void *src, size_t n)
+ {
+ int i;