]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hrtimers: simplify nanosleep
authorRoman Zippel <zippel@linux-m68k.org>
Sun, 26 Mar 2006 09:38:08 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:02 +0000 (08:57 -0800)
commit432569bb9d9d424d7ffe5b21f8205c55bdd1aaa8
treeda649d202625d061d4fca27a6a63c4f81076724e
parent3b98a5328171cebc867f70484b20bd34948cd7f6
[PATCH] hrtimers: simplify nanosleep

nanosleep is the only user of the expired state, so let it manage this itself,
which makes the hrtimer code a bit simpler.  The remaining time is also only
calculated if requested.

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