initramfs: support initramfs that is bigger than 2GiB
[firefly-linux-kernel-4.4.55.git] / include / linux / decompress / unlzma.h
index 7796538f1bf4262cc5682a167e63627ea08a727d..8a891a1938403c654e546cc2bcb3eb131259a51b 100644 (file)
@@ -1,11 +1,11 @@
 #ifndef DECOMPRESS_UNLZMA_H
 #define DECOMPRESS_UNLZMA_H
 
-int unlzma(unsigned char *, int,
-          int(*fill)(void*, unsigned int),
-          int(*flush)(void*, unsigned int),
+int unlzma(unsigned char *, long,
+          long (*fill)(void*, unsigned long),
+          long (*flush)(void*, unsigned long),
           unsigned char *output,
-          int *posp,
+          long *posp,
           void(*error)(char *x)
        );