aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/mcs_spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/mcs_spinlock.h')
-rw-r--r--include/asm-generic/mcs_spinlock.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-generic/mcs_spinlock.h b/include/asm-generic/mcs_spinlock.h
new file mode 100644
index 000000000000..10cd4ffc6ba2
--- /dev/null
+++ b/include/asm-generic/mcs_spinlock.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_MCS_SPINLOCK_H
+#define __ASM_MCS_SPINLOCK_H
+
+/*
+ * Architectures can define their own:
+ *
+ * arch_mcs_spin_lock_contended(l)
+ * arch_mcs_spin_unlock_contended(l)
+ *
+ * See kernel/locking/mcs_spinlock.c.
+ */
+
+#endif /* __ASM_MCS_SPINLOCK_H */