• Paul Mundt's avatar
    sh: TS_RESTORE_SIGMASK conversion. · 56bfc42f
    Paul Mundt authored
    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: default avatarPaul Mundt <lethal@linux-sh.org>
    56bfc42f
signal_64.c 21.5 KB