wifipineapple-openwrt/target/linux/generic
Hauke Mehrtens 507fef5ebc kernel: fix compile error with gcc-4.8 and kernel 3.3
With gcc-4.8 I get a compile error with kernel 3.3.
This patch fixes this problem by backporting a patch from a more recent kernel version.

  CC      arch/mips/mm/page.o
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/mm/page.o] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 13:07:44 +00:00
..
base-files [base-files/generic] update the /init file to start /sbin/init 2013-03-13 18:11:13 +00:00
files linux/generic: add MIB counters and port status to ADM6996 switch 2014-04-22 08:08:02 +00:00
image rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
patches-3.3 kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
patches-3.6 kernel/3.6: remove yaffs support 2013-12-16 07:42:42 +00:00
patches-3.8 kernel: backport ARM memset fixes for GCC 4.7/4.8 2014-03-12 22:08:59 +00:00
patches-3.9 kernel/3.9: remove yaffs patches 2013-12-16 07:42:43 +00:00
patches-3.10 generic: remove obsolete symbol export from block2mtd init patch 2014-04-10 14:43:22 +00:00
patches-3.12 generic: remove obsolete symbol export from block2mtd init patch 2014-04-10 14:43:22 +00:00
patches-3.13 generic: remove obsolete symbol export from block2mtd init patch 2014-04-10 14:43:22 +00:00
patches-3.14 generic: remove obsolete symbol export from block2mtd init patch 2014-04-10 14:43:22 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00
config-3.3 kernel: deactivate fs cache config option 2014-04-28 21:40:09 +00:00
config-3.6 kernel: deactivate fs cache config option 2014-04-28 21:40:09 +00:00
config-3.8 kernel: deactivate fs cache config option 2014-04-28 21:40:09 +00:00
config-3.9 kernel: deactivate fs cache config option 2014-04-28 21:40:09 +00:00
config-3.10 kernel: add missing config options 2014-04-29 21:03:00 +00:00
config-3.12 kernel: add missing config options 2014-04-29 21:03:00 +00:00
config-3.13 kernel: add missing config options 2014-04-29 21:03:00 +00:00
config-3.14 kernel: add missing config options 2014-04-29 21:03:00 +00:00