Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: remove GCC < 4.9 support

Remove a tautology; since
commit 0bddd227f3dc ("Documentation: update for gcc 4.9 requirement")
which raised the minimally supported version of GCC to 4.9, this case is
always true.

Link: https://github.com/ClangBuiltLinux/linux/issues/427
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Nick Desaulniers and committed by
Thomas Bogendoerfer
4abaacc7 e1717283

+1 -8
+1 -8
arch/mips/include/asm/compiler.h
··· 43 43 #undef barrier_before_unreachable 44 44 #define barrier_before_unreachable() asm volatile(".insn") 45 45 46 - #if !defined(CONFIG_CC_IS_GCC) || \ 47 - (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9) 48 - # define GCC_OFF_SMALL_ASM() "ZC" 49 - #elif defined(CONFIG_CPU_MICROMIPS) 50 - # error "microMIPS compilation unsupported with GCC older than 4.9" 51 - #else 52 - # define GCC_OFF_SMALL_ASM() "R" 53 - #endif 46 + #define GCC_OFF_SMALL_ASM() "ZC" 54 47 55 48 #ifdef CONFIG_CPU_MIPSR6 56 49 #define MIPS_ISA_LEVEL "mips64r6"