summaryrefslogtreecommitdiff
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-03-24 07:13:03 +0900
committerStafford Horne <shorne@gmail.com>2017-11-03 14:01:12 +0900
commitb5f8217615bb197af33c0cc71b14783b194fed6e (patch)
treea93d94efbb158066244235d3c9aaabad05d33f0e /arch/openrisc/Kconfig
parent489e0f802db708c69004f64d92a3e1b70731614a (diff)
openrisc: use qspinlocks and qrwlocks
Enable OpenRISC to use qspinlocks and qrwlocks for upcoming SMP support. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r--arch/openrisc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 356dd67a86ea..b49acda5e8f4 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -28,6 +28,8 @@ config OPENRISC
select OR1K_PIC
select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
select NO_BOOTMEM
+ select ARCH_USE_QUEUED_SPINLOCKS
+ select ARCH_USE_QUEUED_RWLOCKS
config CPU_BIG_ENDIAN
def_bool y