summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/qspinlock.h
diff options
context:
space:
mode:
authorBabu Moger <babu.moger@oracle.com>2017-05-24 17:55:15 -0600
committerDavid S. Miller <davem@davemloft.net>2017-05-25 12:06:52 -0700
commit145d978585977438ebb55079487827006c604e39 (patch)
tree8c2db73ea429d948a46c6b8577ce6c40a3fd18bd /arch/sparc/include/asm/qspinlock.h
parent79d39e2bab60d18a68a5abc00be4506864397efc (diff)
downloadlinux-145d978585977438ebb55079487827006c604e39.tar.bz2
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>
Diffstat (limited to 'arch/sparc/include/asm/qspinlock.h')
-rw-r--r--arch/sparc/include/asm/qspinlock.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/qspinlock.h b/arch/sparc/include/asm/qspinlock.h
new file mode 100644
index 000000000000..5ae9a2802846
--- /dev/null
+++ b/arch/sparc/include/asm/qspinlock.h
@@ -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 */