]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd1e3428f4015b6ad3b51b2a21d6580604f2ef601
tree02694b1416f3d98c4eebaeca7864c7fd3bad6fa0
parent2fe4c1689ccd4917bd6503aad099ee17717e0895
[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