sh: TS_RESTORE_SIGMASK conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 07:05:42 +0000 (16:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 07:05:42 +0000 (16:05 +0900)
commit56bfc42f6cba3e831094c01a23fbbb17a20bbdf8
treedee2d956aa6b17ba41428aec3d47e91bb6fac569
parentb195e46677bed5f044bc2eede65fd41c886ef5b2
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>
arch/sh/include/asm/thread_info.h
arch/sh/kernel/cpu/sh5/entry.S
arch/sh/kernel/entry-common.S
arch/sh/kernel/signal_32.c
arch/sh/kernel/signal_64.c