summaryrefslogtreecommitdiff
path: root/arch/alpha/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-23 17:10:51 +0300
committerThomas Gleixner <tglx@linutronix.de>2011-01-27 14:30:36 +0300
commit61bb46082775acd18c712607615a8b7dbeff7873 (patch)
treecf9bd860bc783ff6d565f1a24d16a8ec187ed911 /arch/alpha/include
parentf97b12cce6dea51880a6a89d4607c29c70a6a841 (diff)
downloadlinux-61bb46082775acd18c712607615a8b7dbeff7873.tar.xz
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/alpha/include')
-rw-r--r--arch/alpha/include/asm/rwsem.h2
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 {
};
#define __RWSEM_INITIALIZER(name) \
- { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \
+ { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \
LIST_HEAD_INIT((name).wait_list) }
#define DECLARE_RWSEM(name) \