aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/rtmutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/locking/rtmutex.c')
-rw-r--r--kernel/locking/rtmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c
index 2c49d76f96c3..6e6cab7ac12f 100644
--- a/kernel/locking/rtmutex.c
+++ b/kernel/locking/rtmutex.c
@@ -1446,7 +1446,7 @@ rt_mutex_fastunlock(struct rt_mutex *lock,
1446 bool (*slowfn)(struct rt_mutex *lock, 1446 bool (*slowfn)(struct rt_mutex *lock,
1447 struct wake_q_head *wqh)) 1447 struct wake_q_head *wqh))
1448{ 1448{
1449 WAKE_Q(wake_q); 1449 DEFINE_WAKE_Q(wake_q);
1450 1450
1451 if (likely(rt_mutex_cmpxchg_release(lock, current, NULL))) { 1451 if (likely(rt_mutex_cmpxchg_release(lock, current, NULL))) {
1452 rt_mutex_deadlock_account_unlock(current); 1452 rt_mutex_deadlock_account_unlock(current);