Files
linux/kernel
Toyo Abe 1711ef3866 [PATCH] posix-timers: Fix clock_nanosleep() doesn't return the remaining time in compatibility mode
The clock_nanosleep() function does not return the time remaining when the
sleep is interrupted by a signal.

This patch creates a new call out, compat_clock_nanosleep_restart(), which
handles returning the remaining time after a sleep is interrupted.  This
patch revives clock_nanosleep_restart().  It is now accessed via the new
call out.  The compat_clock_nanosleep_restart() is used for compatibility
access.

Since this is implemented in compatibility mode the normal path is
virtually unaffected - no real performance impact.

Signed-off-by: Toyo Abe <toyoa@mvista.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:15 -07:00
..
2006-09-29 09:18:07 -07:00
2006-09-11 13:32:30 -04:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:12 -07:00
2005-04-16 15:20:36 -07:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:09 -07:00
2006-03-26 08:57:03 -08:00
2006-09-29 09:18:12 -07:00
2006-09-16 12:54:32 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:06 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 10:52:28 +02:00
2006-09-29 09:18:12 -07:00
2006-04-19 16:27:18 -07:00
2006-07-10 13:24:25 -07:00