Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61bb4608 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

alpha: 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: Matt Turner <mattst88@gmail.com>
parent f97b12cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) \