Commit 234e9d7a authored by Chenxi Mao's avatar Chenxi Mao Committed by Palmer Dabbelt

riscv: Select ARCH_SUPPORTS_ATOMIC_RMW by default

Select ARCH_SUPPORTS_ATOMIC_RMW by default to enable osqlocks.
Signed-off-by: default avatarChenxi Mao <maochenxi@eswin.com>
[Palmer: commit text]
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 9ebcfadb
...@@ -13,6 +13,7 @@ config 32BIT ...@@ -13,6 +13,7 @@ config 32BIT
config RISCV config RISCV
def_bool y def_bool y
select ARCH_CLOCKSOURCE_INIT select ARCH_CLOCKSOURCE_INIT
select ARCH_SUPPORTS_ATOMIC_RMW
select ARCH_HAS_BINFMT_FLAT select ARCH_HAS_BINFMT_FLAT
select ARCH_HAS_DEBUG_VIRTUAL if MMU select ARCH_HAS_DEBUG_VIRTUAL if MMU
select ARCH_HAS_DEBUG_WX select ARCH_HAS_DEBUG_WX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment