UPSTREAM: kernel: remove checking for TIF_NOTIFY_SIGNAL

[ Upstream commit e296dc4996 ]

It's available everywhere now, no need to check or add dummy defines.

Change-Id: I2e0950c13a90b463b848bb6bc095db02ae08a8cd
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 90a2c3821b)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Jens Axboe
2020-10-09 16:04:39 -06:00
committed by Greg Kroah-Hartman
parent b63801f3e0
commit 5fb7e93c70
4 changed files with 0 additions and 12 deletions

View File

@@ -2556,14 +2556,12 @@ bool get_signal(struct ksignal *ksig)
* that the arch handlers don't all have to do it. If we get here
* without TIF_SIGPENDING, just exit after running signal work.
*/
#ifdef TIF_NOTIFY_SIGNAL
if (!IS_ENABLED(CONFIG_GENERIC_ENTRY)) {
if (test_thread_flag(TIF_NOTIFY_SIGNAL))
tracehook_notify_signal();
if (!task_sigpending(current))
return false;
}
#endif
if (unlikely(uprobe_deny_signal()))
return false;