From 4de13ad070f3144330f5832ee506640cad8407cd Mon Sep 17 00:00:00 2001 From: surinder Date: Wed, 28 May 2008 09:51:16 +0100 Subject: [PATCH] --- yaml --- r: 97772 b: refs/heads/master c: 1e5c594607778f551b729577b046ee5d9333cfb5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-arm/spinlock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 444e50af7fa1..0f2e9d076ca8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ea6a7404da4b381b35bcec48338d376a3873ea46 +refs/heads/master: 1e5c594607778f551b729577b046ee5d9333cfb5 diff --git a/trunk/include/asm-arm/spinlock.h b/trunk/include/asm-arm/spinlock.h index 800ba5254daf..2b41ebbfa7ff 100644 --- a/trunk/include/asm-arm/spinlock.h +++ b/trunk/include/asm-arm/spinlock.h @@ -142,7 +142,7 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw) } /* write_can_lock - would write_trylock() succeed? */ -#define __raw_write_can_lock(x) ((x)->lock == 0x80000000) +#define __raw_write_can_lock(x) ((x)->lock == 0) /* * Read locks are a bit more hairy: