summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.12.24/mips-lzo-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-22 19:41:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-22 19:42:41 +0200
commit83269248e437d15f040975e5d40dfc9ad599ab0e (patch)
tree5355dfda20e364df32ee2a1122b04ab950100fa5 /target/linux/patches/3.12.24/mips-lzo-fix.patch
parentf964a806c5784f4a0144deffcfbd3c4e6e4da244 (diff)
bump kernel versions, readd sm7xx driver for 3.15.x
Diffstat (limited to 'target/linux/patches/3.12.24/mips-lzo-fix.patch')
-rw-r--r--target/linux/patches/3.12.24/mips-lzo-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.12.24/mips-lzo-fix.patch b/target/linux/patches/3.12.24/mips-lzo-fix.patch
new file mode 100644
index 000000000..0740bdc6a
--- /dev/null
+++ b/target/linux/patches/3.12.24/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;