From 52869e93433f6e2e158f8224dc03c5c11b7d4ddb Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 15 Sep 2010 17:45:10 +0000 Subject: omap24xx: Add 2.6.36 support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23072 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.36/800-decompress-unlzo-fixes.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch (limited to 'target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch') diff --git a/target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch b/target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch new file mode 100644 index 000000000..c57ca4e6f --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch @@ -0,0 +1,17 @@ +--- + lib/decompress_unlzo.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- linux-2.6.35.orig/lib/decompress_unlzo.c ++++ linux-2.6.35/lib/decompress_unlzo.c +@@ -50,6 +50,10 @@ static const unsigned char lzop_magic[] + #define LZO_BLOCK_SIZE (256*1024l) + #define HEADER_HAS_FILTER 0x00000800L + ++#ifndef INIT ++#define INIT /* nothing */ ++#endif ++ + STATIC inline int INIT parse_header(u8 *input, u8 *skip) + { + int l; -- cgit v1.2.3