summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-04-15 16:46:24 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-04-15 16:46:24 +0000
commitaf45b63a85f0d669d942d7800b7c0ad6a75f897f (patch)
treedebbdf72e80754afb8dac1816a13490c08a645f9
parente5e096618634f2098d0a533cfce004279107c39f (diff)
downloadmtk-20170518-af45b63a85f0d669d942d7800b7c0ad6a75f897f.zip
mtk-20170518-af45b63a85f0d669d942d7800b7c0ad6a75f897f.tar.gz
mtk-20170518-af45b63a85f0d669d942d7800b7c0ad6a75f897f.tar.bz2
2.6.34: fix kzalloc error
SVN-Revision: 20881
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch b/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
index 9fd5797..29d507e 100644
--- a/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
+++ b/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
@@ -53,7 +53,7 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
};
--- /dev/null
+++ b/fs/squashfs/lzma_wrapper.c
-@@ -0,0 +1,151 @@
+@@ -0,0 +1,152 @@
+/*
+ * Squashfs - a compressed read only filesystem for Linux
+ *
@@ -82,6 +82,7 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
+#include <linux/mutex.h>
+#include <linux/vmalloc.h>
+#include <linux/decompress/unlzma.h>
++#include <linux/slab.h>
+
+#include "squashfs_fs.h"
+#include "squashfs_fs_sb.h"