diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-04-27 21:24:19 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2011-04-28 13:01:38 +0200 |
commit | fe0faa005d43bc44c357631d51c273806086caa4 (patch) | |
tree | 7977c5ec7c452ed3a0036747b8d8861b742c30b3 /kernel/gcov | |
parent | signal: cleanup sys_rt_sigprocmask() (diff) | |
download | linux-fe0faa005d43bc44c357631d51c273806086caa4.tar.xz linux-fe0faa005d43bc44c357631d51c273806086caa4.zip |
signal: sys_rt_sigtimedwait: simplify the timeout logic
No functional changes, cleanup compat_sys_rt_sigtimedwait() and
sys_rt_sigtimedwait().
Calculate the timeout before we take ->siglock, this simplifies and
lessens the code. Use timespec_valid() to check the timespec.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions