From ba5c3ab9021f42527c8e8f111ee1f134f70ea81d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 10 Apr 2015 06:00:40 +0000 Subject: Use mdelay(x) instead of delay(x * 1000) for drm_msleep() to better deal with long delays. --- sys/dev/pci/drm/drmP.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/drm') 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; -- cgit v1.2.3