[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200602005428.18087-1-maochenxi@eswin.com>
Date: Tue, 2 Jun 2020 08:54:28 +0800
From: Chenxi Mao <maochenxi@...in.com>
To: paul.walmsley@...ive.com
Cc: palmer@...belt.com, aou@...s.berkeley.edu,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
maochenxi@...in.com
Subject: [PATCH 1/1] riscv: Select ARCH_SUPPORTS_ATOMIC_RMW by default
Enable ARCH_SUPPORTS_ATOMIC_RMW by default to support
osq_lock in mutex/rwsem locks.
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a31e1a41913a..cbdc605d20d9 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -68,6 +68,7 @@ config RISCV
select ARCH_HAS_GCOV_PROFILE_ALL
select HAVE_COPY_THREAD_TLS
select HAVE_ARCH_KASAN if MMU && 64BIT
+ select ARCH_SUPPORTS_ATOMIC_RMW
config ARCH_MMAP_RND_BITS_MIN
default 18 if 64BIT
--
2.25.1
Powered by blists - more mailing lists