summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-04-10 06:00:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-04-10 06:00:40 +0000
commitba5c3ab9021f42527c8e8f111ee1f134f70ea81d (patch)
treeb19e410dc9c2d2895c5dd40e5dce04fac0918142 /sys/dev
parent8395217709276ffc14934e506c589ca007f2cbaf (diff)
Use mdelay(x) instead of delay(x * 1000) for drm_msleep() to better
deal with long delays.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drmP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 56eb25e4808..36dc0220553 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: drmP.h,v 1.188 2015/04/10 05:52:09 jsg Exp $ */
+/* $OpenBSD: drmP.h,v 1.189 2015/04/10 06:00:39 jsg Exp $ */
/* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*-
* Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com
*/
@@ -89,7 +89,7 @@
#define DRM_SUSER(p) (suser(p, 0) == 0)
#define DRM_MTRR_WC MDF_WRITECOMBINE
-#define drm_msleep(x, msg) delay(x * 1000)
+#define drm_msleep(x, msg) mdelay(x)
extern struct cfdriver drm_cd;