You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/generic
Hauke Mehrtens e2cd04bfb3 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>

SVN-Revision: 40619
10 years ago
..
base-files update the /init file to start /sbin/init 11 years ago
files linux/generic: add MIB counters and port status to ADM6996 switch 10 years ago
image rename target/linux/generic-2.6 to generic 14 years ago
patches-3.3 kernel: fix compile error with gcc-4.8 and kernel 3.3 10 years ago
patches-3.6 kernel/3.6: remove yaffs support 11 years ago
patches-3.8 kernel: backport ARM memset fixes for GCC 4.7/4.8 10 years ago
patches-3.9 kernel/3.9: remove yaffs patches 11 years ago
patches-3.10 generic: remove obsolete symbol export from block2mtd init patch 10 years ago
patches-3.12 generic: remove obsolete symbol export from block2mtd init patch 10 years ago
patches-3.13 generic: remove obsolete symbol export from block2mtd init patch 10 years ago
patches-3.14 generic: remove obsolete symbol export from block2mtd init patch 10 years ago
PATCHES kernel: update PATCHES with a stricter policy 11 years ago
config-3.3 kernel: deactivate fs cache config option 10 years ago
config-3.6 kernel: deactivate fs cache config option 10 years ago
config-3.8 kernel: deactivate fs cache config option 10 years ago
config-3.9 kernel: deactivate fs cache config option 10 years ago
config-3.10 kernel: add missing config options 10 years ago
config-3.12 kernel: add missing config options 10 years ago
config-3.13 kernel: add missing config options 10 years ago
config-3.14 kernel: add missing config options 10 years ago