summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2020-02-18 07:40:50 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2020-02-18 07:40:50 +0000
commit4d5279444c57093b18f1ec049222a109e45764f4 (patch)
treee3cebe763f042ba63269ef67ad0f4c091c72ca62 /sys/dev/pci/drm
parentc782e984ccc4ca0947a5d0dd92056d214d5d88cf (diff)
Use SIGPENDING() instead of CURSIG() for emulating signal_pending().
There is no need for the additional work done by CURSIG(). seems reasonable jsg@
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/include/linux/sched/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/include/linux/sched/signal.h b/sys/dev/pci/drm/include/linux/sched/signal.h
index 5b21079d6cf..3eb6d900800 100644
--- a/sys/dev/pci/drm/include/linux/sched/signal.h
+++ b/sys/dev/pci/drm/include/linux/sched/signal.h
@@ -6,7 +6,7 @@
#include <sys/systm.h>
#include <sys/signalvar.h>
-#define signal_pending_state(x, y) CURSIG(curproc)
-#define signal_pending(y) CURSIG(curproc)
+#define signal_pending_state(x, y) SIGPENDING(curproc)
+#define signal_pending(y) SIGPENDING(curproc)
#endif