]> git.baikalelectronics.ru Git - kernel.git/commit
select: Introduce a hrtimeout function
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 31 Aug 2008 15:05:58 +0000 (08:05 -0700)
committerArjan van de Ven <arjan@linux.intel.com>
Sat, 6 Sep 2008 04:34:53 +0000 (21:34 -0700)
commitb6d38c10701bf367e711d9708986df6dbbb67327
tree6fed7b163d96067794b6d704f5d3a35b89a167b4
parent168612f4c35233eeb4a05782aaf6036223698b22
select: Introduce a hrtimeout function

This patch adds a schedule_hrtimeout() function, to be used by select() and
poll() in a later patch. This function works similar to schedule_timeout()
in most ways, but takes a timespec rather than jiffies.

With a lot of contributions/fixes from Thomas

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
kernel/hrtimer.c