Commit 235454c9 authored by Thomas Gleixner's avatar Thomas Gleixner

xtensa: Replace deprecated spinlock initialization

SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Chris Zankel <chris@zankel.net>
parent 22e65004
...@@ -38,7 +38,7 @@ struct rw_semaphore { ...@@ -38,7 +38,7 @@ struct rw_semaphore {
}; };
#define __RWSEM_INITIALIZER(name) \ #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) } LIST_HEAD_INIT((name).wait_list) }
#define DECLARE_RWSEM(name) \ #define DECLARE_RWSEM(name) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment