OSDN Git Service

MIPS: SGI-IP22: Remove unnecessary check of GCC option
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 14 Dec 2021 03:09:01 +0000 (11:09 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Dec 2021 09:02:40 +0000 (10:02 +0100)
commit048cc2378c2494519d940597629465b3ea44a96f
treef68c18bd56544de2af8eef2f6ae04d70a3a498f0
parent2bcb9c25081d116afa3796133033ea3f2f02ee8b
MIPS: SGI-IP22: Remove unnecessary check of GCC option

According to Documentation/process/changes.rst, the minimal version of GCC
is 5.1, and -mr10k-cache-barrier=store is supported with GCC 5.1 [1], just
remove the unnecessary check to fix the build error [2]:

  arch/mips/sgi-ip22/Platform:28: *** gcc doesn't support needed option -mr10k-cache-barrier=store.  Stop.

[1] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/MIPS-Options.html
[2] https://github.com/ClangBuiltLinux/linux/issues/1543

Reported-by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/sgi-ip22/Platform