[PATCH] hrtimer: create generic sleeper
authorThomas Gleixner <tglx@linutronix.de>
Fri, 31 Mar 2006 10:31:17 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:58 +0000 (12:18 -0800)
commit00362e33f65f1cb5d15e62ea5509520ce2770360
tree02694b1416f3d98c4eebaeca7864c7fd3bad6fa0
parent2bfb646cdf348cb77c572f06d5b9d17ea205c7e2
[PATCH] hrtimer: create generic sleeper

The removal of the data field in the hrtimer structure enforces the
embedding of the timer into another data structure.  nanosleep now uses a
private implementation of the most common used timer callback function
(simple task wakeup).

In order to avoid the reimplentation of such functionality all over the
place a generic hrtimer_sleeper functionality is created.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/hrtimer.h
kernel/hrtimer.c