diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 15:23:14 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 12:30:37 +0100 |
commit | 235454c99851ba21038061b9acf38d1a636068c5 (patch) | |
tree | 8160b40667fb7b15f1c6c93837fac166518d3947 /arch/xtensa/include | |
parent | 22e650045899011b028e40625bc73df9f3260bac (diff) | |
download | blackbird-op-linux-235454c99851ba21038061b9acf38d1a636068c5.tar.gz blackbird-op-linux-235454c99851ba21038061b9acf38d1a636068c5.zip |
xtensa: Replace deprecated spinlock initialization
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/rwsem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/rwsem.h b/arch/xtensa/include/asm/rwsem.h index e39edf5c86f2..9d32f6874393 100644 --- a/arch/xtensa/include/asm/rwsem.h +++ b/arch/xtensa/include/asm/rwsem.h @@ -38,7 +38,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) \ |