diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/include/linux/sched/signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/include/linux/sched/signal.h b/sys/dev/pci/drm/include/linux/sched/signal.h index 3eb6d900800..c201146f159 100644 --- a/sys/dev/pci/drm/include/linux/sched/signal.h +++ b/sys/dev/pci/drm/include/linux/sched/signal.h @@ -6,7 +6,8 @@ #include <sys/systm.h> #include <sys/signalvar.h> -#define signal_pending_state(x, y) SIGPENDING(curproc) +#define signal_pending_state(s, x) \ + ((s) & TASK_INTERRUPTIBLE ? SIGPENDING(curproc) : 0) #define signal_pending(y) SIGPENDING(curproc) #endif |