diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-10-10 00:04:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-12 17:17:38 +0100 |
commit | e296dc4996b8094ccde45d19090d804c4103513e (patch) | |
tree | 3250ce40eeacd53f12b495b3d8942976dc41eca0 /kernel/signal.c | |
parent | signal: kill JOBCTL_TASK_WORK (diff) | |
download | linux-e296dc4996b8094ccde45d19090d804c4103513e.tar.xz linux-e296dc4996b8094ccde45d19090d804c4103513e.zip |
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.c | 2 |
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; |