From 52b8a6e18bfdb323538bc8a91e06b73d9d2259e6 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 b7cf6a547f11..017050880d56 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