commit | 56bfc42f6cba3e831094c01a23fbbb17a20bbdf8 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Oct 14 16:05:42 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Oct 14 16:05:42 2009 +0900 |
tree | dee2d956aa6b17ba41428aec3d47e91bb6fac569 | |
parent | b195e46677bed5f044bc2eede65fd41c886ef5b2 [diff] |
sh: TS_RESTORE_SIGMASK conversion. Replace TIF_RESTORE_SIGMASK with TS_RESTORE_SIGMASK and define our own set_restore_sigmask() function. This saves the costly SMP-safe set_bit operation, which we do not need for the sigmask flag since TIF_SIGPENDING always has to be set too. Based on the x86 and powerpc change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>