Revert "wait: Fix __wait_event_hrtimeout for RT/DL tasks"
This reverts commit bd80dd86f9.
Change-Id: Ic4a1805e6dcdd0a0581acff9cc488676a69402a8
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
This commit is contained in:
parent
a18edb25fe
commit
bf9c71bd30
1 changed files with 4 additions and 5 deletions
|
|
@ -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) { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue