summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-23 15:10:51 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-01-27 12:30:36 +0100
commit61bb46082775acd18c712607615a8b7dbeff7873 (patch)
treecf9bd860bc783ff6d565f1a24d16a8ec187ed911 /arch/alpha
parentf97b12cce6dea51880a6a89d4607c29c70a6a841 (diff)
downloadlinux-3.10-61bb46082775acd18c712607615a8b7dbeff7873.tar.gz
linux-3.10-61bb46082775acd18c712607615a8b7dbeff7873.tar.bz2
linux-3.10-61bb46082775acd18c712607615a8b7dbeff7873.zip
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')
-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 1570c0b5433..19c9cc7ed94 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) \