aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/lua/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-05-01 13:07:44 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-05-01 13:07:44 +0000
commite2cd04bfb39f333aeaafaa87668fd364c3e42946 (patch)
tree4eb926ee8a7adb9975233d7ccc4a0f112a6dc4fc /package/utils/lua/Makefile
parent14d0375301f5094ac7213550c74b35909e05f0dd (diff)
downloadupstream-e2cd04bfb39f333aeaafaa87668fd364c3e42946.tar.gz
upstream-e2cd04bfb39f333aeaafaa87668fd364c3e42946.tar.bz2
upstream-e2cd04bfb39f333aeaafaa87668fd364c3e42946.zip
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
Diffstat (limited to 'package/utils/lua/Makefile')
0 files changed, 0 insertions, 0 deletions