x86: Fix write lock scalability 64-bit issue
[pandora-kernel.git] / arch / x86 / include / asm / spinlock_types.h
index dcb48b2..7c7a486 100644 (file)
@@ -11,10 +11,6 @@ typedef struct arch_spinlock {
 
 #define __ARCH_SPIN_LOCK_UNLOCKED      { 0 }
 
-typedef struct {
-       unsigned int lock;
-} arch_rwlock_t;
-
-#define __ARCH_RW_LOCK_UNLOCKED                { RW_LOCK_BIAS }
+#include <asm/rwlock.h>
 
 #endif /* _ASM_X86_SPINLOCK_TYPES_H */