aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/rwlock.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-15 13:57:47 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 20:17:10 +0200
commit003a46cfff308ee0d879dfa89b9a7c65b2a481bf (patch)
tree234552110912d4b9d6519474823e98e1a1726d16 /include/asm-x86/rwlock.h
parent217d115cd5d7d2bef7db7839b93ce5dc2867c392 (diff)
x86: unify some more trivial include/asm-x86/ 32/64 variants
Scripted unification. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/rwlock.h')
-rw-r--r--include/asm-x86/rwlock.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/asm-x86/rwlock.h b/include/asm-x86/rwlock.h
index a3be7d8364a..f2b64a429e6 100644
--- a/include/asm-x86/rwlock.h
+++ b/include/asm-x86/rwlock.h
@@ -1,5 +1,9 @@
-#ifdef CONFIG_X86_32
-# include "rwlock_32.h"
-#else
-# include "rwlock_64.h"
-#endif
+#ifndef _ASM_X86_RWLOCK_H
+#define _ASM_X86_RWLOCK_H
+
+#define RW_LOCK_BIAS 0x01000000
+#define RW_LOCK_BIAS_STR "0x01000000"
+
+/* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */
+
+#endif /* _ASM_X86_RWLOCK_H */