diff options
author | Babu Moger <babu.moger@oracle.com> | 2017-05-25 01:55:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-25 21:06:51 +0200 |
commit | a37594f198363fd9321ece54440336fd4b2a9c8e (patch) | |
tree | 591a2cc525ac40ca81840cd1b93e615dc5dd9679 /arch/sparc/Kconfig | |
parent | arch/sparc: Introduce cmpxchg_u8 SPARC (diff) | |
download | linux-a37594f198363fd9321ece54440336fd4b2a9c8e.tar.xz linux-a37594f198363fd9321ece54440336fd4b2a9c8e.zip |
arch/sparc: Enable queued rwlocks for SPARC
Enable queued rwlocks for SPARC. Here are the discussions on this feature
when this was introduced.
https://lwn.net/Articles/572765/
https://lwn.net/Articles/582200/
Cleaned-up the arch_read_xxx and arch_write_xxx definitions in spinlock_64.h.
These routines are replaced by the functions in include/asm-generic/qrwlock.h
Signed-off-by: Babu Moger <babu.moger@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r-- | arch/sparc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index eb213b5000c8..0e8065207596 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -83,6 +83,7 @@ config SPARC64 select ARCH_SUPPORTS_ATOMIC_RMW select HAVE_NMI select HAVE_REGS_AND_STACK_ACCESS_API + select ARCH_USE_QUEUED_RWLOCKS config ARCH_DEFCONFIG string |