diff options
| author | Toyo Abe <[email protected]> | 2006-09-29 09:00:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-09-29 16:18:15 +0000 |
| commit | e4b765551aa6355eae60b644bed851a9477c4e2b (patch) | |
| tree | d1636c58e475407e2a770659430d54c7d67d72be /fs/proc/array.c | |
| parent | [PATCH] posix-timers: Fix clock_nanosleep() doesn't return the remaining time... (diff) | |
| download | kernel-e4b765551aa6355eae60b644bed851a9477c4e2b.tar.gz kernel-e4b765551aa6355eae60b644bed851a9477c4e2b.zip | |
[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 <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
