From d7b081ac0b8eee5f2a58123235061ee1b99a4f4d Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Tue, 15 Mar 2011 17:08:32 +0100 Subject: [S390] support XZ compressed kernel Add support for XZ compressed kernel. Same as on x86 and sh. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- arch/s390/boot/compressed/misc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/s390/boot/compressed/misc.c') diff --git a/arch/s390/boot/compressed/misc.c b/arch/s390/boot/compressed/misc.c index 2751b3a8a66f..028f23ea81d1 100644 --- a/arch/s390/boot/compressed/misc.c +++ b/arch/s390/boot/compressed/misc.c @@ -19,6 +19,7 @@ #undef memset #undef memcpy #undef memmove +#define memmove memmove #define memzero(s, n) memset((s), 0, (n)) /* Symbols defined by linker scripts */ @@ -54,6 +55,10 @@ static unsigned long free_mem_end_ptr; #include "../../../../lib/decompress_unlzo.c" #endif +#ifdef CONFIG_KERNEL_XZ +#include "../../../../lib/decompress_unxz.c" +#endif + extern _sclp_print_early(const char *); int puts(const char *s) -- cgit v1.2.3