X-Git-Url: http://git.agner.ch/gitweb/?a=blobdiff_plain;f=lib%2Fdecompress_unxz.c;h=25d59a95bd6681465d9e57af06f77c3d641b0649;hb=46c8217c4a54c17dd4c000ad804fa1e223a10578;hp=b07a78340e9d315006a97194fbcccae0c4c16509;hpb=dbb885fecc1b1b35e93416bedd24d21bd20f60ed;p=linux-drm-fsl-dcu.git diff --git a/lib/decompress_unxz.c b/lib/decompress_unxz.c index b07a78340e9d..25d59a95bd66 100644 --- a/lib/decompress_unxz.c +++ b/lib/decompress_unxz.c @@ -394,4 +394,14 @@ error_alloc_state: * This macro is used by architecture-specific files to decompress * the kernel image. */ -#define decompress unxz +#ifdef XZ_PREBOOT +STATIC int INIT __decompress(unsigned char *buf, long len, + long (*fill)(void*, unsigned long), + long (*flush)(void*, unsigned long), + unsigned char *out_buf, long olen, + long *pos, + void (*error)(char *x)) +{ + return unxz(buf, len, fill, flush, out_buf, pos, error); +} +#endif