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

Commit 22e65004 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

um: 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: Jeff Dike <jdike@addtoit.com>
parent 24774fbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ struct ubd {
	.no_cow =               0, \
	.shared =		0, \
	.cow =			DEFAULT_COW, \
	.lock =			SPIN_LOCK_UNLOCKED,	\
	.lock =			__SPIN_LOCK_UNLOCKED(ubd_devs.lock), \
	.request =		NULL, \
	.start_sg =		0, \
	.end_sg =		0, \