decompress.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) decompress.c (a7f464f3db93ae5492bee6f6e48939fd8a45fa99)
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

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

39#ifdef CONFIG_KERNEL_LZO
40#include "../../../../lib/decompress_unlzo.c"
41#endif
42
43#ifdef CONFIG_KERNEL_LZMA
44#include "../../../../lib/decompress_unlzma.c"
45#endif
46
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

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

39#ifdef CONFIG_KERNEL_LZO
40#include "../../../../lib/decompress_unlzo.c"
41#endif
42
43#ifdef CONFIG_KERNEL_LZMA
44#include "../../../../lib/decompress_unlzma.c"
45#endif
46
47#ifdef CONFIG_KERNEL_XZ
48#define memmove memmove
49#define memcpy memcpy
50#include "../../../../lib/decompress_unxz.c"
51#endif
52
47int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
48{
49 return decompress(input, len, NULL, NULL, output, NULL, error);
50}
53int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
54{
55 return decompress(input, len, NULL, NULL, output, NULL, error);
56}