diff options
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r-- | include/linux/wait.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h index 30c515520fb2..3eb7cae8206c 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h | |||
@@ -501,8 +501,8 @@ do { \ | |||
501 | int __ret = 0; \ | 501 | int __ret = 0; \ |
502 | struct hrtimer_sleeper __t; \ | 502 | struct hrtimer_sleeper __t; \ |
503 | \ | 503 | \ |
504 | hrtimer_init_on_stack(&__t.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); \ | 504 | hrtimer_init_sleeper_on_stack(&__t, CLOCK_MONOTONIC, \ |
505 | hrtimer_init_sleeper(&__t, current); \ | 505 | HRTIMER_MODE_REL); \ |
506 | if ((timeout) != KTIME_MAX) \ | 506 | if ((timeout) != KTIME_MAX) \ |
507 | hrtimer_start_range_ns(&__t.timer, timeout, \ | 507 | hrtimer_start_range_ns(&__t.timer, timeout, \ |
508 | current->timer_slack_ns, \ | 508 | current->timer_slack_ns, \ |