-
- Downloads
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 <ink@jurassic.park.msu.ru> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/alpha/kernel/core_t2.c 2 additions, 0 deletionsarch/alpha/kernel/core_t2.c
- arch/alpha/kernel/traps.c 2 additions, 1 deletionarch/alpha/kernel/traps.c
- include/asm-alpha/core_mcpcia.h 1 addition, 1 deletioninclude/asm-alpha/core_mcpcia.h
- include/asm-alpha/core_t2.h 7 additions, 7 deletionsinclude/asm-alpha/core_t2.h
- include/asm-alpha/io.h 3 additions, 3 deletionsinclude/asm-alpha/io.h
- include/asm-alpha/mmu_context.h 3 additions, 3 deletionsinclude/asm-alpha/mmu_context.h
- include/asm-alpha/system.h 5 additions, 5 deletionsinclude/asm-alpha/system.h
- include/asm-alpha/vga.h 3 additions, 3 deletionsinclude/asm-alpha/vga.h
Please register or sign in to comment