From: Ivan Kokshaysky Date: Fri, 20 Jun 2008 23:28:31 +0000 (+0400) Subject: alpha: fix compile failures with gcc-4.3 (bug #10438) X-Git-Tag: v2.6.26-rc8~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d559d4a24a3fed75bd890abcc1f95cd8d8dad6e1;p=pandora-kernel.git alpha: fix compile failures with gcc-4.3 (bug #10438) Vast majority of these build failures are gcc-4.3 warnings about static functions and objects being referenced from non-static (read: "extern inline") functions, in conjunction with our -Werror. We cannot just convert "extern inline" to "static inline", as people keep suggesting all the time, because "extern inline" logic is crucial for generic kernel build. So - just make sure that all callees of critical "extern inline" functions are also "extern inline"; - use "static inline", wherever it's possible. traps.c: work around gcc-4.3 being too smart about array bounds-checking. TODO: add "gnu_inline" attribute to all our "extern inline" functions to ensure desired behaviour with future compilers. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed