summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_os_linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h
index 8c073f0b..cb304398 100644
--- a/linux-core/drm_os_linux.h
+++ b/linux-core/drm_os_linux.h
@@ -16,6 +16,9 @@
#define DRM_DEVICE drm_file_t *priv = filp->private_data; \
drm_device_t *dev = priv->dev
+#define DRM_IRQ_ARGS int irq, void *arg, struct pt_regs *regs
+#define DRM_TASKQUEUE_ARGS void *arg
+
/* For data going from/to the kernel through the ioctl argument */
#define DRM_COPY_FROM_USER_IOCTL(arg1, arg2, arg3) \
if ( copy_from_user(&arg1, arg2, arg3) ) \