projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731b9a5
)
[PATCH] Remove the last reference to rwlock_is_locked() macro.
author
Robert P. J. Day
<
[email protected]
>
Sat, 10 Feb 2007 09:46:17 +0000
(
01:46
-0800)
committer
Linus Torvalds
<
[email protected]
>
Sun, 11 Feb 2007 18:51:34 +0000
(10:51 -0800)
Remove the lone, remaining reference to the long-deceased
rwlock_is_locked() macro.
Signed-off-by: Robert P. J. Day <
[email protected]
>
Cc: Russell King <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/asm-arm/spinlock.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/spinlock.h
b/include/asm-arm/spinlock.h
index 861092fbaa53283953bd41c9dbb6e840bb42ff02..800ba5254dafef9bff57c98a19dcb599b0982cbc 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)
{