History

Merge tag 'x86-boot-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 boot updates from Ingo Molnar: "The main change in this cycle was to add support for ZSTD-compressed kernel and initrd images. ZSTD has a very fast decompressor, yet it compresses better than gzip" * tag 'x86-boot-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: Documentation: dontdiff: Add zstd compressed files .gitignore: Add ZSTD-compressed files x86: Add support for ZSTD compressed kernel x86: Bump ZO_z_extra_bytes margin for zstd usr: Add support for zstd compressed initramfs init: Add support for zstd compressed kernel lib: Add zstd support to decompress lib: Prepare zstd for preboot environment, improve performance

Linus Torvalds committed 6 years ago

Commit c0dfadf2 parents ba77c56 1ac1efa21 files · +469 −26Browse files

Showing the changes to include/linux (1 of 21 files). Show all

Unified · Split

include/linux/decompress/unzstd.h+11−0
@@ -0,0 +1,11 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef LINUX_DECOMPRESS_UNZSTD_H
3#define LINUX_DECOMPRESS_UNZSTD_H
4
5int unzstd(unsigned char *inbuf, long len,
6 long (*fill)(void*, unsigned long),
7 long (*flush)(void*, unsigned long),
8 unsigned char *output,
9 long *pos,
10 void (*error_fn)(char *x));
11#endif