diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-24 11:33:53 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-10-23 03:38:15 +0300 |
commit | ee5928843a93c7d246bbe17c5eed95918ed0ddb1 (patch) | |
tree | 16e5e6d2519e09e2e5bf479368a7ec48b577ed23 /arch/riscv/Kconfig | |
parent | f31b8de98853091e86a6391f9cd7948a2397287e (diff) | |
download | linux-ee5928843a93c7d246bbe17c5eed95918ed0ddb1.tar.xz |
riscv: move GCC version check for ARCH_SUPPORTS_INT128 to Kconfig
This becomes much neater in Kconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 093361e2298c..bb80d3ea82fd 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -113,6 +113,7 @@ config ARCH_RV32I config ARCH_RV64I bool "RV64I" select 64BIT + select ARCH_SUPPORTS_INT128 if GCC_VERSION >= 50000 select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_GRAPH_TRACER select HAVE_FTRACE_MCOUNT_RECORD |