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

Commit bf9c71bd authored by Srinivasarao Pathipati's avatar Srinivasarao Pathipati
Browse files

Revert "wait: Fix __wait_event_hrtimeout for RT/DL tasks"



This reverts commit bd80dd86.

Change-Id: Ic4a1805e6dcdd0a0581acff9cc488676a69402a8
Signed-off-by: default avatarSrinivasarao Pathipati <quic_c_spathi@quicinc.com>
parent a18edb25
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -529,11 +529,10 @@ do { \
										\
	hrtimer_init_sleeper_on_stack(&__t, CLOCK_MONOTONIC,			\
				      HRTIMER_MODE_REL);			\
	if ((timeout) != KTIME_MAX) {						\
		hrtimer_set_expires_range_ns(&__t.timer, timeout,		\
					current->timer_slack_ns);		\
		hrtimer_sleeper_start_expires(&__t, HRTIMER_MODE_REL);		\
	}									\
	if ((timeout) != KTIME_MAX)						\
		hrtimer_start_range_ns(&__t.timer, timeout,			\
				       current->timer_slack_ns,			\
				       HRTIMER_MODE_REL);			\
										\
	__ret = ___wait_event(wq_head, condition, state, 0, 0,			\
		if (!__t.task) {						\