From f7e2125b83c814fc5f2040dc7fd9b59b70a037ea Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 25 May 2012 20:54:43 -0400 Subject: [PATCH] sh: missing tests for NOTIFY_RESUME Signed-off-by: Al Viro --- arch/sh/kernel/cpu/sh5/entry.S | 2 +- arch/sh/kernel/entry-common.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/kernel/cpu/sh5/entry.S b/arch/sh/kernel/cpu/sh5/entry.S index ff1f0e6e9bec..49d63266291f 100644 --- a/arch/sh/kernel/cpu/sh5/entry.S +++ b/arch/sh/kernel/cpu/sh5/entry.S @@ -933,7 +933,7 @@ ret_with_reschedule: pta restore_all, tr1 - movi _TIF_SIGPENDING, r8 + movi _TIF_SIGPENDING|_TIF_NOTIFY_RESUME, r8 and r8, r7, r8 pta work_notifysig, tr0 bne r8, ZERO, tr0 diff --git a/arch/sh/kernel/entry-common.S b/arch/sh/kernel/entry-common.S index f67601cb3f1f..f4a7a05ecc60 100644 --- a/arch/sh/kernel/entry-common.S +++ b/arch/sh/kernel/entry-common.S @@ -139,7 +139,7 @@ work_pending: ! r8: current_thread_info ! t: result of "tst #_TIF_NEED_RESCHED, r0" bf/s work_resched - tst #_TIF_SIGPENDING, r0 + tst #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME, r0 work_notifysig: bt/s __restore_all mov r15, r4 -- 2.39.5