diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 09:10:51 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 06:30:36 -0500 |
commit | 61bb46082775acd18c712607615a8b7dbeff7873 (patch) | |
tree | cf9bd860bc783ff6d565f1a24d16a8ec187ed911 /arch | |
parent | f97b12cce6dea51880a6a89d4607c29c70a6a841 (diff) |
alpha: Replace deprecated spinlock initialization
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/rwsem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/rwsem.h b/arch/alpha/include/asm/rwsem.h index 1570c0b54336..19c9cc7ed94b 100644 --- a/arch/alpha/include/asm/rwsem.h +++ b/arch/alpha/include/asm/rwsem.h | |||
@@ -39,7 +39,7 @@ struct rw_semaphore { | |||
39 | }; | 39 | }; |
40 | 40 | ||
41 | #define __RWSEM_INITIALIZER(name) \ | 41 | #define __RWSEM_INITIALIZER(name) \ |
42 | { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \ | 42 | { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ |
43 | LIST_HEAD_INIT((name).wait_list) } | 43 | LIST_HEAD_INIT((name).wait_list) } |
44 | 44 | ||
45 | #define DECLARE_RWSEM(name) \ | 45 | #define DECLARE_RWSEM(name) \ |