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>
This commit is contained in:
Chenxi Mao 2020-06-05 13:15:10 +08:00 committed by Palmer Dabbelt
parent 9ebcfadb06
commit 234e9d7a62
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View File

@ -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