tn3399_openwrt/target/linux
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
2014-05-01 13:07:44 +00:00
..
adm5120 kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
ar71xx ar71xx: rb91x: fix ethernet packet loss issues 2014-04-13 20:41:52 +00:00
at91 at91: Add AT91 board and model name to /tmp/sysinfo 2014-04-29 21:02:40 +00:00
atheros atheros: remove useless get_c0_compare_int fix 2014-04-29 16:19:36 +00:00
au1000 au1000: make sysupgrade compatible with all file system types 2013-11-07 12:46:16 +00:00
avr32 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
bcm53xx bcm53xx: add default config for switch 2014-04-23 22:02:18 +00:00
brcm47xx kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
brcm63xx kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
brcm2708 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
cns3xxx cns3xxx: ethernet - revert: clean up tx descs only when needed 2014-04-29 15:52:12 +00:00
cns21xx kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
cobalt cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
generic kernel: fix compile error with gcc-4.8 and kernel 3.3 2014-05-01 13:07:44 +00:00
imx6 imx6-gateworks: enable new canbus packages 2014-04-19 21:39:04 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
kirkwood kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
lantiq lantiq: BT Home Hub 2B - overlayfs on top of ubi 2014-04-22 08:08:46 +00:00
malta kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
mpc85xx kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
mvebu kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
mxs mxs: enable usbgadget feature for Duckbills 2014-04-28 07:43:29 +00:00
octeon kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
omap upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
omap24xx additional musb fixups 2014-02-09 16:14:30 +00:00
orion orion: create a macro for zImage with machine id 2014-04-01 22:21:11 +00:00
ppc40x kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
ppc44x kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips ralink: add dir-645 to the eeprom hotplug script 2014-04-23 07:52:56 +00:00
rb532 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
realview kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
sunxi sunxi: various a13 changes - add rtl8192cu into A13 Olinuxino profile - make wlan0 the default interface 2014-05-01 10:23:55 +00:00
uml target/uml: update README 2014-02-18 22:16:04 +00:00
x86 x86/net5501: remove broken flag 2014-04-12 12:05:18 +00:00
x86_64 x86_64: add usb support (including storage) to the kernel config 2014-04-11 13:22:28 +00:00
xburst kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
Makefile