]> git.karo-electronics.de Git - linux-beck.git/commit
timer: Added usleep[_range] timer
authorPatrick Pannuto <ppannuto@codeaurora.org>
Mon, 19 Jul 2010 22:09:26 +0000 (15:09 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 Jul 2010 13:08:12 +0000 (15:08 +0200)
commit22b8f15c2f7130bb0386f548428df2ffd4e81903
tree4ed7ac08115afdce20d21bd923cd1071c2249dda
parent866e26115cba6b59cec669b6307599e3e4440491
timer: Added usleep[_range] timer

usleep[_range] are finer precision implementations of msleep
and are designed to be drop-in replacements for udelay where
a precise sleep / busy-wait is unnecessary. They also allow
an easy interface to specify slack when a precise (ish)
wakeup is unnecessary to help minimize wakeups

Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org>
Cc: akinobu.mita@gmail.com
Cc: sboyd@codeaurora.org
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <4C44CDD2.1070708@codeaurora.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/delay.h
kernel/timer.c