From: Oleg Nesterov Date: Wed, 27 Apr 2011 19:44:14 +0000 (+0200) Subject: signal: introduce do_sigtimedwait() to factor out compat/native code X-Git-Tag: v3.0-rc1~382^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=943df1485a8ff0e600729e082e568ece04d4de9e;p=pandora-kernel.git signal: introduce do_sigtimedwait() to factor out compat/native code Factor out the common code in sys_rt_sigtimedwait/compat_sys_rt_sigtimedwait to the new helper, do_sigtimedwait(). Add the comment to document the extra tick we add to timespec_to_jiffies(ts), thanks to Linus who explained this to me. Perhaps it would be better to move compat_sys_rt_sigtimedwait() into signal.c under CONFIG_COMPAT, then we can make do_sigtimedwait() static. Signed-off-by: Oleg Nesterov Acked-by: Tejun Heo Reviewed-by: Matt Fleming --- Reading git-diff-tree failed