1
0

mips-lzo-fix.patch 556 B

123456789101112
  1. diff -Nur linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c linux-3.11.5/arch/mips/boot/compressed/decompress.c
  2. --- linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c 2013-10-14 03:14:45.000000000 +0200
  3. +++ linux-3.11.5/arch/mips/boot/compressed/decompress.c 2013-11-08 18:19:47.000000000 +0100
  4. @@ -43,7 +43,7 @@
  5. /* activate the code for pre-boot environment */
  6. #define STATIC static
  7. -#ifdef CONFIG_KERNEL_GZIP
  8. +#if defined(CONFIG_KERNEL_GZIP) || defined(CONFIG_KERNEL_LZO)
  9. void *memcpy(void *dest, const void *src, size_t n)
  10. {
  11. int i;