summaryrefslogtreecommitdiff
path: root/bsd/drm_os_freebsd.h
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2003-07-29 10:11:48 +0000
committerMichel Daenzer <michel@daenzer.net>2003-07-29 10:11:48 +0000
commit4b60cae90e0f689f68167c2e3419df7574cae1ab (patch)
treec6e0714b4e51fc2ea9732ce5e5d57915ff350276 /bsd/drm_os_freebsd.h
parentc26ffeafca30332520660d2bef1106b56d0ef5e1 (diff)
IRQ code cleanup suggested by Linus Torvalds
i830 build fix
Diffstat (limited to 'bsd/drm_os_freebsd.h')
-rw-r--r--bsd/drm_os_freebsd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h
index f1184008..32616757 100644
--- a/bsd/drm_os_freebsd.h
+++ b/bsd/drm_os_freebsd.h
@@ -112,9 +112,9 @@
#define DRM_SUSER(p) suser(p)
#define DRM_TASKQUEUE_ARGS void *arg, int pending
#define DRM_IRQ_ARGS void *arg
-#define DRM_IRQ_RET void
-#define DRM_IRQ_NONE
-#define DRM_IRQ_HANDLED
+typedef void irqreturn_t;
+#define IRQ_HANDLED /* nothing */
+#define IRQ_NONE /* nothing */
#define DRM_DEVICE drm_device_t *dev = kdev->si_drv1
#define DRM_MALLOC(size) malloc( size, DRM(M_DRM), M_NOWAIT )
#define DRM_FREE(pt,size) free( pt, DRM(M_DRM) )