]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
timerfd: introduce a new hrtimer_forward_now() function
authorDavide Libenzi <davidel@xmailserver.org>
Tue, 5 Feb 2008 06:27:25 +0000 (22:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:07 +0000 (09:44 -0800)
commit5e05ad7d4e3b11f935998882b5d9c3b257137f1b
tree63b1b197f1ee68e656878257394d1ec8796ff3ea
parented5d2cac114202fe2978a9cbcab8f5032796d538
timerfd: introduce a new hrtimer_forward_now() function

I think that advancing the timer against the timer's current "now" can be a
pretty common usage, so, w/out exposing hrtimer's internals, we add a new
hrtimer_forward_now() function.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hrtimer.h