summaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-15 17:45:10 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-15 17:45:10 +0000
commit52869e93433f6e2e158f8224dc03c5c11b7d4ddb (patch)
treebaf5f1f05b4d4b3edfd52f50781aa47947faaaf8 /target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch
parent2e7a68301991a5ce6b5bfb78330c45361adc5ec8 (diff)
omap24xx: Add 2.6.36 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23072 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.36/800-decompress-unlzo-fixes.patch17
1 files changed, 17 insertions, 0 deletions
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;