diff options
author | Kyungsik Lee <kyungsik.lee@lge.com> | 2013-07-08 16:01:46 -0700 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-06-12 21:20:10 +1000 |
commit | ae59e751939d817c5dea1f07981d4b19c30c3a04 (patch) | |
tree | 33ba16eeef78e5b71faff97aa3d841ec63d5619a /include | |
parent | 3948a0f192249f3cb564a1b5010b4089cc685bee (diff) | |
download | kernel_samsung_smdk4412-ae59e751939d817c5dea1f07981d4b19c30c3a04.zip kernel_samsung_smdk4412-ae59e751939d817c5dea1f07981d4b19c30c3a04.tar.gz kernel_samsung_smdk4412-ae59e751939d817c5dea1f07981d4b19c30c3a04.tar.bz2 |
lib: add support for LZ4-compressed kernel
Add support for extracting LZ4-compressed kernel images, as well as
LZ4-compressed ramdisk images in the kernel boot process.
Signed-off-by: Kyungsik Lee <kyungsik.lee@lge.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Yann Collet <yann.collet.73@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Conflicts:
scripts/Makefile.lib
Change-Id: I2ad2607d9edf0f41c7e7a621f1da72174b142e2d
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/decompress/unlz4.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/decompress/unlz4.h b/include/linux/decompress/unlz4.h new file mode 100644 index 0000000..d5b68bf --- /dev/null +++ b/include/linux/decompress/unlz4.h @@ -0,0 +1,10 @@ +#ifndef DECOMPRESS_UNLZ4_H +#define DECOMPRESS_UNLZ4_H + +int unlz4(unsigned char *inbuf, int len, + int(*fill)(void*, unsigned int), + int(*flush)(void*, unsigned int), + unsigned char *output, + int *pos, + void(*error)(char *x)); +#endif |