aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 16:04:39 -0600
committerJens Axboe <axboe@kernel.dk>2020-12-12 09:17:38 -0700
commite296dc4996b8094ccde45d19090d804c4103513e (patch)
tree3250ce40eeacd53f12b495b3d8942976dc41eca0 /kernel/signal.c
parent98b89b649fce39dacb9dc036d6d0fdb8caff73f7 (diff)
kernel: remove checking for TIF_NOTIFY_SIGNAL
It's available everywhere now, no need to check or add dummy defines. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index cf8b057ca2ac..ccd530509201 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2535,14 +2535,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;

Privacy Policy