decompress.c (bf61c8840efe60fd8f91446860b63338fb424158) decompress.c (f9b493ac9b833fd9dd3bbd50460adb33f29e1238)
1#define _LINUX_STRING_H_
2
3#include <linux/compiler.h> /* for inline */
4#include <linux/types.h> /* for size_t */
5#include <linux/stddef.h> /* for NULL */
6#include <linux/linkage.h>
7#include <asm/string.h>
8

--- 37 unchanged lines hidden (view full) ---

46#endif
47
48#ifdef CONFIG_KERNEL_XZ
49#define memmove memmove
50#define memcpy memcpy
51#include "../../../../lib/decompress_unxz.c"
52#endif
53
1#define _LINUX_STRING_H_
2
3#include <linux/compiler.h> /* for inline */
4#include <linux/types.h> /* for size_t */
5#include <linux/stddef.h> /* for NULL */
6#include <linux/linkage.h>
7#include <asm/string.h>
8

--- 37 unchanged lines hidden (view full) ---

46#endif
47
48#ifdef CONFIG_KERNEL_XZ
49#define memmove memmove
50#define memcpy memcpy
51#include "../../../../lib/decompress_unxz.c"
52#endif
53
54#ifdef CONFIG_KERNEL_LZ4
55#include "../../../../lib/decompress_unlz4.c"
56#endif
57
54int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
55{
56 return decompress(input, len, NULL, NULL, output, NULL, error);
57}
58int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
59{
60 return decompress(input, len, NULL, NULL, output, NULL, error);
61}