• P
    sh: TS_RESTORE_SIGMASK conversion. · 56bfc42f
    Paul Mundt 提交于
    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: NPaul Mundt <lethal@linux-sh.org>
    56bfc42f
thread_info.h 5.3 KB