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 d57832774ca6..4707543ef575 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h | |||
| @@ -488,8 +488,8 @@ do { \ | |||
| 488 | int __ret = 0; \ | 488 | int __ret = 0; \ |
| 489 | struct hrtimer_sleeper __t; \ | 489 | struct hrtimer_sleeper __t; \ |
| 490 | \ | 490 | \ |
| 491 | hrtimer_init_on_stack(&__t.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); \ | 491 | hrtimer_init_sleeper_on_stack(&__t, CLOCK_MONOTONIC, \ |
| 492 | hrtimer_init_sleeper(&__t); \ | 492 | HRTIMER_MODE_REL); \ |
| 493 | if ((timeout) != KTIME_MAX) \ | 493 | if ((timeout) != KTIME_MAX) \ |
| 494 | hrtimer_start_range_ns(&__t.timer, timeout, \ | 494 | hrtimer_start_range_ns(&__t.timer, timeout, \ |
| 495 | current->timer_slack_ns, \ | 495 | current->timer_slack_ns, \ |
