[POWERPC] Define and use TLF_RESTORE_SIGMASK
authorRoland McGrath <roland@redhat.com>
Mon, 28 Apr 2008 07:30:37 +0000 (17:30 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:33 +0000 (22:31 +1000)
commit7a10174eeafe737f3ccfcece5bdff749c3b044e0
tree96d3139ed19153e3369683d6b71cd74852fd1ef5
parent140b932f8cb6cced10b96860651a198b1b89cbb9
[POWERPC] Define and use TLF_RESTORE_SIGMASK

Replace TIF_RESTORE_SIGMASK with TLF_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.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/signal.c
arch/powerpc/kernel/signal_32.c
arch/ppc/kernel/entry.S
include/asm-powerpc/thread_info.h