git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Fix write lock scalability 64-bit issue
[pandora-kernel.git]
/
arch
/
x86
/
include
/
asm
/
spinlock_types.h
diff --git
a/arch/x86/include/asm/spinlock_types.h
b/arch/x86/include/asm/spinlock_types.h
index
dcb48b2
..
7c7a486
100644
(file)
--- a/
arch/x86/include/asm/spinlock_types.h
+++ b/
arch/x86/include/asm/spinlock_types.h
@@
-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 */