From 50cd9979becf61d670c78b8728ab114e6dbecf1b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 24 Feb 2014 17:49:32 +0100 Subject: update kernel --- target/linux/patches/3.12.13/mips-lzo-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/3.12.13/mips-lzo-fix.patch (limited to 'target/linux/patches/3.12.13/mips-lzo-fix.patch') diff --git a/target/linux/patches/3.12.13/mips-lzo-fix.patch b/target/linux/patches/3.12.13/mips-lzo-fix.patch new file mode 100644 index 000000000..0740bdc6a --- /dev/null +++ b/target/linux/patches/3.12.13/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; -- cgit v1.2.3