1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 21:50:37 +02:00
openwrt-xburst/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch

13 lines
283 B
Diff
Raw Normal View History

--- 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;