1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-13 20:21:32 +02:00
openwrt-xburst/target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch
florian e58dc6f93a [ar7] add support for Linux 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 18:41:09 +00:00

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