openwrtv4/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch
Florian Fainelli b363a7e491 add support for Linux 3.6
SVN-Revision: 34154
2012-11-11 18:41:09 +00:00

12 lines
283 B
Diff

--- a/arch/mips/boot/compressed/decompress.c
+++ b/arch/mips/boot/compressed/decompress.c
@@ -44,6 +44,9 @@ void error(char *x)
#define STATIC static
#ifdef CONFIG_KERNEL_GZIP
+#ifdef memcpy
+#undef memcpy
+#endif
void *memcpy(void *dest, const void *src, size_t n)
{
int i;