From e58dc6f93a9d2170530c811acedd1aa99c9df401 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 11 Nov 2012 18:41:09 +0000 Subject: [ar7] add support for Linux 3.6 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34154 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch (limited to 'target/linux/ar7/patches-3.6/100-decompressor_memcpy_fix.patch') 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 000000000..56c8b3160 --- /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; -- cgit v1.2.3