• J
    timers: Introduce timerlist infrastructure. · 87de5ac7
    John Stultz 提交于
    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: NJohn Stultz <john.stultz@linaro.org>
    LKML Reference: <1290136329-18291-2-git-send-email-john.stultz@linaro.org>
    Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
    CC: Alessandro Zummo <a.zummo@towertech.it>
    CC: Thomas Gleixner <tglx@linutronix.de>
    CC: Richard Cochran <richardcochran@gmail.com>
    87de5ac7
timerlist.h 848 字节