diff options
author | Chenxi Mao <maochenxi@eswin.com> | 2020-06-05 13:15:10 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-06-29 15:23:27 -0700 |
commit | 234e9d7a6200952264002b9ba808e7dfc559b0b2 (patch) | |
tree | c2ead8d5b87be721306008195d2082133ecc37c8 /arch/riscv | |
parent | 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 (diff) | |
download | linux-234e9d7a6200952264002b9ba808e7dfc559b0b2.tar.gz linux-234e9d7a6200952264002b9ba808e7dfc559b0b2.tar.bz2 linux-234e9d7a6200952264002b9ba808e7dfc559b0b2.zip |
riscv: Select ARCH_SUPPORTS_ATOMIC_RMW by default
Select ARCH_SUPPORTS_ATOMIC_RMW by default to enable osqlocks.
Signed-off-by: Chenxi Mao <maochenxi@eswin.com>
[Palmer: commit text]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv')
-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 128192e14ff2..089293e4ad46 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -13,6 +13,7 @@ config 32BIT config RISCV def_bool y select ARCH_CLOCKSOURCE_INIT + select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_HAS_BINFMT_FLAT select ARCH_HAS_DEBUG_VIRTUAL if MMU select ARCH_HAS_DEBUG_WX |