]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arch/sparc: Enable queued rwlocks for SPARC
authorAllen Pais <allen.pais@oracle.com>
Wed, 14 Jun 2017 07:30:39 +0000 (13:00 +0530)
committerAllen Pais <allen.pais@oracle.com>
Fri, 16 Jun 2017 08:47:06 +0000 (14:17 +0530)
commit043053adcca301cbe1dbd77afb5e46da1562f9d0
treecc9ef3d539704ad8f45d3700edf7f61e2b3ebe6c
parent5db16613a63c77d363bcb45fb4ae592d42f897c9
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>
(cherry picked from commit a37594f198363fd9321ece54440336fd4b2a9c8e)

Conflicts:

        arch/sparc/Kconfig
        arch/sparc/include/asm/spinlock_64.h

Orabug: 26183741
Signed-off-by: Allen Pais <allen.pais@oracle.com>
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