mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
config: remove HAVE_SIGNAL_STOP
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -175,17 +175,9 @@ issig(void)
|
||||
#else
|
||||
if (dequeue_signal(task, &set, &__info) != 0) {
|
||||
#endif
|
||||
#ifdef HAVE_SIGNAL_STOP
|
||||
spin_unlock_irq(&task->sighand->siglock);
|
||||
kernel_signal_stop();
|
||||
#else
|
||||
if (current->jobctl & JOBCTL_STOP_DEQUEUED)
|
||||
set_special_state(TASK_STOPPED);
|
||||
|
||||
spin_unlock_irq(¤t->sighand->siglock);
|
||||
|
||||
schedule();
|
||||
#endif
|
||||
/*
|
||||
* Dequeued SIGSTOP/SIGTSTP.
|
||||
* Check if process has other singal pending.
|
||||
|
||||
Reference in New Issue
Block a user