summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/rwlock.h')
-rw-r--r--arch/x86/include/asm/rwlock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/include/asm/rwlock.h b/arch/x86/include/asm/rwlock.h
new file mode 100644
index 000000000000..48a3109e1a7d
--- /dev/null
+++ b/arch/x86/include/asm/rwlock.h
@@ -0,0 +1,8 @@
+#ifndef ASM_X86__RWLOCK_H
+#define ASM_X86__RWLOCK_H
+
+#define RW_LOCK_BIAS 0x01000000
+
+/* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */
+
+#endif /* ASM_X86__RWLOCK_H */
OpenPOWER on IntegriCloud