Skip to content

Commit

Permalink
MIPS: NOTIFY_RESUME is not needed in TIF masks
Browse files Browse the repository at this point in the history
If it's set, SIGPENDING is also set.  And SIGPENDING is present in
the masks...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Al Viro authored and Ralf Baechle committed Sep 22, 2012
1 parent 02f884e commit b1c5618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ register struct thread_info *__current_thread_info __asm__("$28");

/* work to do on interrupt/exception return */
#define _TIF_WORK_MASK \
(_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME | \
_TIF_RESTORE_SIGMASK)
(_TIF_SIGPENDING | _TIF_NEED_RESCHED | _TIF_NOTIFY_RESUME)
/* work to do on any return to u-space */
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_WORK_SYSCALL_EXIT)

Expand Down

0 comments on commit b1c5618

Please sign in to comment.