fixup arm xz support with recent changes
authorImre Kaloz <kaloz@openwrt.org>
Sat, 14 Jan 2012 22:55:04 +0000 (22:55 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sat, 14 Jan 2012 22:55:04 +0000 (22:55 +0000)
SVN-Revision: 29750

target/linux/generic/patches-3.2/006-arm_kernel_xz_support.patch

index 42ef57cfee6f2ac9364e801b9c2726a24df91f05..ac3aae94e312797c8dd72e75c76c4763bb782623 100644 (file)
@@ -62,11 +62,13 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
        @$(check_for_bad_syms)
 --- a/arch/arm/boot/compressed/decompress.c
 +++ b/arch/arm/boot/compressed/decompress.c
-@@ -44,6 +44,10 @@ extern void error(char *);
+@@ -44,6 +44,12 @@ extern void error(char *);
  #include "../../../../lib/decompress_unlzma.c"
  #endif
  
 +#ifdef CONFIG_KERNEL_XZ
++#define memmove memmove
++#define memcpy memcpy
 +#include "../../../../lib/decompress_unxz.c"
 +#endif
 +