From ad4554b4d49598c8b25ee59f45dad797243df980 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sat, 10 Feb 2007 01:46:17 -0800 Subject: [PATCH] --- yaml --- r: 47602 b: refs/heads/master c: c530cba649692512070e8c0131ba3eccade09269 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-arm/spinlock.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 885a62a7e1a4..f5f394126677 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 731b9a549882c76189baafccbd068d5785ea2a82 +refs/heads/master: c530cba649692512070e8c0131ba3eccade09269 diff --git a/trunk/include/asm-arm/spinlock.h b/trunk/include/asm-arm/spinlock.h index 861092fbaa53..800ba5254daf 100644 --- a/trunk/include/asm-arm/spinlock.h +++ b/trunk/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) {