]> asedeno.scripts.mit.edu Git - linux.git/commit
arch/sparc: Enable queued rwlocks for SPARC
authorBabu Moger <babu.moger@oracle.com>
Wed, 24 May 2017 23:55:13 +0000 (17:55 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 19:06:51 +0000 (12:06 -0700)
commita37594f198363fd9321ece54440336fd4b2a9c8e
tree591a2cc525ac40ca81840cd1b93e615dc5dd9679
parenta12ee2349312d7112b9b7c6ac2e70c5ec2ca334e
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>
arch/sparc/Kconfig
arch/sparc/include/asm/qrwlock.h [new file with mode: 0644]
arch/sparc/include/asm/spinlock_64.h
arch/sparc/include/asm/spinlock_types.h