projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'audit.b51' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit...
[linux-2.6]
/
include
/
asm-arm
/
spinlock.h
diff --git
a/include/asm-arm/spinlock.h
b/include/asm-arm/spinlock.h
index
861092f
..
800ba52
100644
(file)
--- a/
include/asm-arm/spinlock.h
+++ b/
include/asm-arm/spinlock.h
@@
-85,7
+85,6
@@
static inline void __raw_spin_unlock(raw_spinlock_t *lock)
* Write locks are easy - we just set bit 31. When unlocking, we can
* just write zero since the lock is exclusively held.
*/
-#define rwlock_is_locked(x) (*((volatile unsigned int *)(x)) != 0)
static inline void __raw_write_lock(raw_rwlock_t *rw)
{