Toyo Abe e4b765551a [PATCH] posix-timers: Fix the flags handling in posix_cpu_nsleep()
When a posix_cpu_nsleep() sleep is interrupted by a signal more than twice, it
incorrectly reports the sleep time remaining to the user.  Because
posix_cpu_nsleep() doesn't report back to the user when it's called from
restart function due to the wrong flags handling.

This patch, which applies after previous one, moves the nanosleep() function
from posix_cpu_nsleep() to do_cpu_nanosleep() and cleans up the flags handling
appropriately.

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
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:09 -07:00
2006-09-29 09:18:12 -07:00
2006-09-16 12:54:32 -07:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:06 -07:00
2006-09-26 10:52:28 +02:00
2006-09-29 09:18:12 -07:00