[cns3xxx]: reorder, rename and refresh patches
[openwrt.git] / target / linux / ar7 / patches-3.6 / 100-decompressor_memcpy_fix.patch
1 --- a/arch/mips/boot/compressed/decompress.c
2 +++ b/arch/mips/boot/compressed/decompress.c
3 @@ -44,6 +44,9 @@ void error(char *x)
4  #define STATIC static
5  
6  #ifdef CONFIG_KERNEL_GZIP
7 +#ifdef memcpy
8 +#undef memcpy
9 +#endif
10  void *memcpy(void *dest, const void *src, size_t n)
11  {
12         int i;