diff options
Diffstat (limited to 'target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch')
-rw-r--r-- | target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch b/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch new file mode 100644 index 0000000000..56c8b31603 --- /dev/null +++ b/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch @@ -0,0 +1,12 @@ +--- 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; |