diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 15:10:51 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 12:30:36 +0100 |
commit | 61bb46082775acd18c712607615a8b7dbeff7873 (patch) | |
tree | cf9bd860bc783ff6d565f1a24d16a8ec187ed911 /arch/alpha | |
parent | f97b12cce6dea51880a6a89d4607c29c70a6a841 (diff) | |
download | talos-obmc-linux-61bb46082775acd18c712607615a8b7dbeff7873.tar.gz talos-obmc-linux-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.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 { }; #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) \ |