summaryrefslogtreecommitdiff
path: root/target/linux/mediatek/patches/1008-squashfs-xz.patch
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-15 00:01:17 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-15 00:01:17 +0200
commitde1230ab3be91cea8e4a51211b0d1ce24cc85d81 (patch)
tree55bef6971635f54b8e73663c438a45859653589d /target/linux/mediatek/patches/1008-squashfs-xz.patch
parentefb1b35fe9e904d64ba5d5b1886199a2c968ae37 (diff)
downloadmtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.zip
mtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.tar.gz
mtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.tar.bz2
target/linux/mediatek: add all other patches
Diffstat (limited to 'target/linux/mediatek/patches/1008-squashfs-xz.patch')
-rw-r--r--target/linux/mediatek/patches/1008-squashfs-xz.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches/1008-squashfs-xz.patch b/target/linux/mediatek/patches/1008-squashfs-xz.patch
new file mode 100644
index 0000000..d534063
--- /dev/null
+++ b/target/linux/mediatek/patches/1008-squashfs-xz.patch
@@ -0,0 +1,16 @@
+Index: linux-3.10.20/fs/squashfs/xz_wrapper.c
+===================================================================
+--- linux-3.10.20.orig/fs/squashfs/xz_wrapper.c
++++ linux-3.10.20/fs/squashfs/xz_wrapper.c
+@@ -39,8 +39,10 @@ struct squashfs_xz {
+ };
+
+ struct comp_opts {
+- __le32 dictionary_size;
+ __le32 flags;
++ __le16 bit_opts;
++ __le16 fp;
++ __le32 dictionary_size;
+ };
+
+ static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff,