From: Alexandros C. Couloumbis <alex@ozo.com> Date: Thu, 15 Apr 2010 16:46:24 +0000 (+0000) Subject: 2.6.34: fix kzalloc error X-Git-Tag: reboot~20223 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=af45b63a85f0d669d942d7800b7c0ad6a75f897f;p=openwrt%2Fstaging%2Fchunkeey.git 2.6.34: fix kzalloc error SVN-Revision: 20881 --- 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 9fd57970f2..29d507eb4a 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"