arch/sparc: Enable queued spinlock support for SPARC
This patch makes the necessary changes in SPARC architecture to enable queued spinlock support. Here are some of the earlier discussions about this feature. https://lwn.net/Articles/561775/ https://lwn.net/Articles/590243/ Cleaned-up the spinlock_64.h. The definitions of arch_spin_xxx are replaced by the function in <asm-generic/qspinlock.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
79d39e2bab
commit
145d978585
7
arch/sparc/include/asm/qspinlock.h
Normal file
7
arch/sparc/include/asm/qspinlock.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef _ASM_SPARC_QSPINLOCK_H
|
||||
#define _ASM_SPARC_QSPINLOCK_H
|
||||
|
||||
#include <asm-generic/qspinlock_types.h>
|
||||
#include <asm-generic/qspinlock.h>
|
||||
|
||||
#endif /* _ASM_SPARC_QSPINLOCK_H */
|
Reference in New Issue
Block a user