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)
commit7bb67439bf6bd3782f07f1d7be1e63406453d5de
tree6fed7b163d96067794b6d704f5d3a35b89a167b4
parent70bb08962ea9bd50797ae9f16b2493f5f7c65053
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