From: Robert P. J. Day Date: Sat, 10 Feb 2007 09:46:17 +0000 (-0800) Subject: [PATCH] Remove the last reference to rwlock_is_locked() macro. X-Git-Tag: v2.6.21-rc1~274^2~270 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c530cba649692512070e8c0131ba3eccade09269;p=linux-2.6-omap-h63xx.git [PATCH] Remove the last reference to rwlock_is_locked() macro. Remove the lone, remaining reference to the long-deceased rwlock_is_locked() macro. Signed-off-by: Robert P. J. Day Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index 861092fbaa5..800ba5254da 100644 --- 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) {