aboutsummaryrefslogtreecommitdiffstats
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-09-01 14:35:02 -0700
committerArjan van de Ven <arjan@linux.intel.com>2008-09-05 21:35:05 -0700
commit63ca243b271f5b44e0b1057003cf498b6d0fadf7 (patch)
treed122c7ee0a22bfd2308f1253e8c6319907198ff5 /fs/timerfd.c
parentselect: switch select() and poll() over to hrtimers (diff)
downloadlinux-dev-63ca243b271f5b44e0b1057003cf498b6d0fadf7.tar.xz
linux-dev-63ca243b271f5b44e0b1057003cf498b6d0fadf7.zip
hrtimer: add abstraction functions for accessing the "expires" member
In order to be able to turn hrtimers into range based, we need to provide accessor functions for getting to the "expires" ktime_t member of the struct hrtimer. This patch adds a set of accessors for this purpose: * hrtimer_set_expires * hrtimer_set_expires_tv64 * hrtimer_add_expires * hrtimer_add_expires_ns * hrtimer_get_expires * hrtimer_get_expires_tv64 * hrtimer_get_expires_ns * hrtimer_expires_remaining * hrtimer_start_expires No users of these new accessors are added yet; these follow in later patches. Hopefully this patch can even go into 2.6.27-rc so that the conversions will not have a bottleneck in -next Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions