]> git.baikalelectronics.ru Git - kernel.git/commit
timers: Introduce timerlist infrastructure.
authorJohn Stultz <john.stultz@linaro.org>
Tue, 21 Sep 2010 00:42:46 +0000 (17:42 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 3 Dec 2010 00:41:39 +0000 (16:41 -0800)
commit821aeb0a5af27d62a48e544dc26d6d3f923e0c91
tree8186969d00da5d0daea37fcb92538bbc72c8f086
parentf74b83fb93240e5c49a3b661cd48a6df6d991a2f
timers: Introduce timerlist infrastructure.

The timerlist infrastructure is a thin layer over the rbtree
code that implements a simple list of timers sorted by an
expires value, and a getnext function that provides a pointer
to the earliest timer.

This infrastructure allows drivers and other kernel infrastructure
to easily implement timers without duplicating code.

Signed-off-by: John Stultz <john.stultz@linaro.org>
LKML Reference: <1290136329-18291-2-git-send-email-john.stultz@linaro.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Richard Cochran <richardcochran@gmail.com>
include/linux/timerlist.h [new file with mode: 0644]
lib/Makefile
lib/timerlist.c [new file with mode: 0644]