MIPS: remove GCC < 4.9 support
Remove a tautology; since
commit 0bddd227f3 ("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>
This commit is contained in:
committed by
Thomas Bogendoerfer
parent
e171728325
commit
4abaacc704
@@ -43,14 +43,7 @@
|
|||||||
#undef barrier_before_unreachable
|
#undef barrier_before_unreachable
|
||||||
#define barrier_before_unreachable() asm volatile(".insn")
|
#define barrier_before_unreachable() asm volatile(".insn")
|
||||||
|
|
||||||
#if !defined(CONFIG_CC_IS_GCC) || \
|
#define GCC_OFF_SMALL_ASM() "ZC"
|
||||||
(__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)
|
|
||||||
# define GCC_OFF_SMALL_ASM() "ZC"
|
|
||||||
#elif defined(CONFIG_CPU_MICROMIPS)
|
|
||||||
# error "microMIPS compilation unsupported with GCC older than 4.9"
|
|
||||||
#else
|
|
||||||
# define GCC_OFF_SMALL_ASM() "R"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_MIPSR6
|
#ifdef CONFIG_CPU_MIPSR6
|
||||||
#define MIPS_ISA_LEVEL "mips64r6"
|
#define MIPS_ISA_LEVEL "mips64r6"
|
||||||
|
|||||||
Reference in New Issue
Block a user