summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-01-30 09:05:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-01-30 09:05:24 +0000
commit003964acfaabbbb2a288f0f8940f0c4b0345c345 (patch)
tree24225fb2563e9c661c2b4f37dd78ed6ad28d5f13 /sys/dev/pci/drm
parent88cb7e18e17311473754a7be2d219611ed5a1495 (diff)
add module_init()/module_exit()/signal_pending()
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_linux.h b/sys/dev/pci/drm/drm_linux.h
index ffbea9b5711..ad6ed22541b 100644
--- a/sys/dev/pci/drm/drm_linux.h
+++ b/sys/dev/pci/drm/drm_linux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_linux.h,v 1.78 2018/01/30 08:54:10 jsg Exp $ */
+/* $OpenBSD: drm_linux.h,v 1.79 2018/01/30 09:05:23 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
* Copyright (c) 2017 Martin Pieuchot
@@ -285,6 +285,8 @@ struct module;
#define module_param_named(name, value, type, perm)
#define module_param_named_unsafe(name, value, type, perm)
#define module_param_unsafe(name, type, perm)
+#define module_init(x)
+#define module_exit(x)
#define THIS_MODULE NULL
@@ -848,6 +850,7 @@ typedef void *async_cookie_t;
#define TASK_INTERRUPTIBLE PCATCH
#define signal_pending_state(x, y) CURSIG(curproc)
+#define signal_pending(y) CURSIG(curproc)
#define NSEC_PER_USEC 1000L
#define NSEC_PER_MSEC 1000000L