mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
93d09773d1
A later commit updates lib/decompress_unxz.c to enable this filter for kernel decompression. lib/decompress_unxz.c is already used if CONFIG_EFI_ZBOOT=y && CONFIG_KERNEL_XZ=y. This filter can be used by Squashfs without modifications to the Squashfs kernel code (only needs support in userspace Squashfs-tools). Link: https://lkml.kernel.org/r/20240721133633.47721-13-lasse.collin@tukaani.org Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Reviewed-by: Sam James <sam@gentoo.org> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Emil Renner Berthing <emil.renner.berthing@canonical.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Joel Stanley <joel@jms.id.au> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Jubin Zhong <zhongjubin@huawei.com> Cc: Jules Maselbas <jmaselbas@zdiv.net> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Rui Li <me@lirui.org> Cc: Simon Glass <sjg@chromium.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
28 lines
649 B
C
28 lines
649 B
C
// SPDX-License-Identifier: 0BSD
|
|
|
|
/*
|
|
* XZ decoder module information
|
|
*
|
|
* Author: Lasse Collin <lasse.collin@tukaani.org>
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/xz.h>
|
|
|
|
EXPORT_SYMBOL(xz_dec_init);
|
|
EXPORT_SYMBOL(xz_dec_reset);
|
|
EXPORT_SYMBOL(xz_dec_run);
|
|
EXPORT_SYMBOL(xz_dec_end);
|
|
|
|
#ifdef CONFIG_XZ_DEC_MICROLZMA
|
|
EXPORT_SYMBOL(xz_dec_microlzma_alloc);
|
|
EXPORT_SYMBOL(xz_dec_microlzma_reset);
|
|
EXPORT_SYMBOL(xz_dec_microlzma_run);
|
|
EXPORT_SYMBOL(xz_dec_microlzma_end);
|
|
#endif
|
|
|
|
MODULE_DESCRIPTION("XZ decompressor");
|
|
MODULE_VERSION("1.2");
|
|
MODULE_AUTHOR("Lasse Collin <lasse.collin@tukaani.org> and Igor Pavlov");
|
|
MODULE_LICENSE("Dual BSD/GPL");
|