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

Commit 720a2592 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

hrtimer: more hrtimer_init_sleeper() fallout.



Missed an instance...

  futex_lock_pi()
    hrtimer_init_sleeper()
    rt_mutex_timed_lock()
      rt_mutex_timed_fastlock()
        rt_mutex_slowlock()
          hrtimer_start()

Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 96b5a46e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -630,9 +630,12 @@ rt_mutex_slowlock(struct rt_mutex *lock, int state,
	set_current_state(state);

	/* Setup the timer, when timeout != NULL */
	if (unlikely(timeout))
	if (unlikely(timeout)) {
		hrtimer_start(&timeout->timer, timeout->timer.expires,
			      HRTIMER_MODE_ABS);
		if (!hrtimer_active(&timeout->timer))
			timeout->task = NULL;
	}

	for (;;) {
		/* Try to acquire the lock: */