summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drmP.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-11-22 22:54:49 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-11-22 22:54:49 +0000
commitbd03a31f7e327bdd33b8a23b755eab7f932ed049 (patch)
tree9634e97c8d0af10658716ed963a4b37cdbff71a2 /sys/dev/pci/drm/drmP.h
parent50ce30ac06082ed5ac6797feed7112af25ed2f55 (diff)
using ``wait queues' for sleep is a linuxism. Kill them and just sleep
on the softc.
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r--sys/dev/pci/drm/drmP.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 14c82a83d69..bb7237561ae 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -111,9 +111,7 @@
#define __OS_HAS_AGP 1
-#define wait_queue_head_t atomic_t
#define DRM_WAKEUP(w) wakeup((void *)w)
-#define DRM_INIT_WAITQUEUE(queue) do {(void)(queue);} while (0)
#define DRM_CURPROC curproc
#define DRM_CURRENTPID curproc->p_pid