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>
This commit is contained in:

committed by
David S. Miller

parent
a12ee23493
commit
a37594f198
7
arch/sparc/include/asm/qrwlock.h
Normal file
7
arch/sparc/include/asm/qrwlock.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef _ASM_SPARC_QRWLOCK_H
|
||||
#define _ASM_SPARC_QRWLOCK_H
|
||||
|
||||
#include <asm-generic/qrwlock_types.h>
|
||||
#include <asm-generic/qrwlock.h>
|
||||
|
||||
#endif /* _ASM_SPARC_QRWLOCK_H */
|
Reference in New Issue
Block a user