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-26 11:49:46 -07:00
2006-06-26 09:58:21 -07:00
2006-01-03 11:35:26 +01:00
2006-07-14 21:53:54 -07:00
2006-09-26 08:48:52 -07:00
2006-09-11 13:32:30 -04:00
2006-09-26 08:48:52 -07:00
2006-09-26 08:48:52 -07:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:15 -07:00
2006-06-30 19:25:36 +02:00
2006-09-26 08:48:59 -07:00
2006-09-29 09:18:12 -07:00
2006-09-01 11:39:08 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-09-29 09:18:12 -07:00
2006-05-15 11:20:55 -07:00
2006-09-29 09:18:09 -07:00
2006-08-06 08:57:49 -07:00
2006-09-08 10:22:50 -07:00
2006-09-29 09:18:15 -07:00
2006-03-26 08:57:03 -08:00
2006-07-14 21:53:52 -07:00
2005-06-23 09:45:10 -07:00
2005-06-25 16:24:45 -07:00
2006-09-29 09:18:12 -07:00
2006-09-29 09:18:13 -07:00
2006-09-16 12:54:32 -07:00
2006-07-31 13:28:38 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:52 -07:00
2006-09-13 07:32:14 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:13 -07:00
2006-07-14 21:53:56 -07:00
2006-09-25 17:38:36 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:04 -07:00
2006-09-26 10:52:39 +02:00
2006-09-29 09:18:08 -07:00
2006-09-27 08:26:19 -07:00
2006-09-29 09:18:15 -07:00
2006-09-29 09:18:15 -07:00
2006-09-26 08:49:03 -07:00
2006-09-26 08:48:50 -07:00
2006-09-29 09:18:12 -07:00
2006-09-13 07:32:14 -07:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:06 -07:00
2006-09-26 17:43:52 -07:00
2006-06-27 17:32:47 -07:00
2006-07-03 15:27:11 -07:00
2006-07-03 15:27:01 -07:00
2006-07-14 21:53:53 -07:00
2006-09-29 09:18:09 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-09-29 09:18:14 -07:00
2005-04-16 15:20:36 -07:00
2006-09-27 08:26:15 -07:00
2006-09-29 09:18:14 -07:00
2006-09-29 09:18:14 -07:00
2006-09-29 09:18:03 -07:00
2006-07-03 15:27:02 -07:00
2006-08-27 11:01:31 -07:00
2006-06-23 07:42:53 -07:00
2006-09-26 10:52:28 +02:00
2006-09-29 09:18:12 -07:00
2006-09-22 14:53:43 -07:00
2006-06-26 09:58:20 -07:00
2006-09-29 09:18:14 -07:00
2006-04-19 16:27:18 -07:00
2006-09-29 09:18:11 -07:00
2006-06-22 15:05:55 -07:00
2006-07-10 13:24:25 -07:00
2006-08-14 12:54:29 -07:00