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

Commit 10389a15 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

cred: Replace deprecated spinlock initialization



SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 92578c0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ static struct kmem_cache *cred_jar;
static struct thread_group_cred init_tgcred = {
	.usage	= ATOMIC_INIT(2),
	.tgid	= 0,
	.lock	= SPIN_LOCK_UNLOCKED,
	.lock	= __SPIN_LOCK_UNLOCKED(init_cred.tgcred.lock),
};
#endif