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

Commit 7424cdf7 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

mips: 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: Ralf Baechle <ralf@linux-mips.org>
parent e41c8ab1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -148,9 +148,9 @@ struct {
	spinlock_t tc_list_lock;
	struct list_head tc_list;	/* Thread contexts */
} vpecontrol = {
	.vpe_list_lock	= SPIN_LOCK_UNLOCKED,
	.vpe_list_lock	= __SPIN_LOCK_UNLOCKED(vpe_list_lock),
	.vpe_list	= LIST_HEAD_INIT(vpecontrol.vpe_list),
	.tc_list_lock	= SPIN_LOCK_UNLOCKED,
	.tc_list_lock	= __SPIN_LOCK_UNLOCKED(tc_list_lock),
	.tc_list	= LIST_HEAD_INIT(vpecontrol.tc_list)
};