diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-05-15 23:38:11 +0200 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-05-29 21:57:34 +0200 |
commit | 6cffe00f7d4e24679eae6b7aae4caaf915288256 (patch) | |
tree | 3613480b8eefec8b865ba9d3acbb8ecb7ffe4def /fs/timerfd.c | |
parent | x86: Increase precision of x86_platform.get/set_wallclock() (diff) | |
download | linux-6cffe00f7d4e24679eae6b7aae4caaf915288256.tar.xz linux-6cffe00f7d4e24679eae6b7aae4caaf915288256.zip |
alarmtimer: Add functions for timerfd support
Add functions needed for hooking up alarmtimer to timerfd:
* alarm_restart: Similar to hrtimer_restart, restart an alarmtimer after
the expires time has already been updated (as with alarm_forward).
* alarm_forward_now: Similar to hrtimer_forward_now, move the expires
time forward to an interval from the current time of the associated clock.
* alarm_start_relative: Start an alarmtimer with an expires time relative to
the current time of the associated clock.
* alarm_expires_remaining: Similar to hrtimer_expires_remaining, return the
amount of time remaining until alarm expiry.
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions