.. | .. |
---|
1499 | 1499 | struct task_struct *new_owner; |
---|
1500 | 1500 | bool postunlock = false; |
---|
1501 | 1501 | DEFINE_WAKE_Q(wake_q); |
---|
1502 | | - DEFINE_WAKE_Q(wake_sleeper_q); |
---|
1503 | 1502 | int ret = 0; |
---|
1504 | 1503 | |
---|
1505 | 1504 | new_owner = rt_mutex_next_owner(&pi_state->pi_mutex); |
---|
.. | .. |
---|
1549 | 1548 | * not fail. |
---|
1550 | 1549 | */ |
---|
1551 | 1550 | pi_state_update_owner(pi_state, new_owner); |
---|
1552 | | - postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wake_q, |
---|
1553 | | - &wake_sleeper_q); |
---|
| 1551 | + postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wake_q); |
---|
1554 | 1552 | } |
---|
1555 | 1553 | |
---|
1556 | 1554 | out_unlock: |
---|
1557 | 1555 | raw_spin_unlock_irq(&pi_state->pi_mutex.wait_lock); |
---|
1558 | 1556 | |
---|
1559 | 1557 | if (postunlock) |
---|
1560 | | - rt_mutex_postunlock(&wake_q, &wake_sleeper_q); |
---|
| 1558 | + rt_mutex_postunlock(&wake_q); |
---|
1561 | 1559 | |
---|
1562 | 1560 | return ret; |
---|
1563 | 1561 | } |
---|
.. | .. |
---|
2861 | 2859 | goto no_block; |
---|
2862 | 2860 | } |
---|
2863 | 2861 | |
---|
2864 | | - rt_mutex_init_waiter(&rt_waiter, false); |
---|
| 2862 | + rt_mutex_init_waiter(&rt_waiter); |
---|
2865 | 2863 | |
---|
2866 | 2864 | /* |
---|
2867 | 2865 | * On PREEMPT_RT_FULL, when hb->lock becomes an rt_mutex, we must not |
---|
.. | .. |
---|
3207 | 3205 | * The waiter is allocated on our stack, manipulated by the requeue |
---|
3208 | 3206 | * code while we sleep on uaddr. |
---|
3209 | 3207 | */ |
---|
3210 | | - rt_mutex_init_waiter(&rt_waiter, false); |
---|
| 3208 | + rt_mutex_init_waiter(&rt_waiter); |
---|
3211 | 3209 | |
---|
3212 | 3210 | ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, FUTEX_WRITE); |
---|
3213 | 3211 | if (unlikely(ret != 0)) |
---|