summaryrefslogtreecommitdiff
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2012-07-01 06:41:39 +0000
committerAlexander Motin <mav@FreeBSD.org>2012-07-01 06:41:39 +0000
commit29c75f17e24222cbba03ab5ccf8f762ac09b02bb (patch)
tree605b166d9b92c9b773bf7bc3070c43e50b93ebf7 /sys/dev/drm2
parent260b24869195f55cabc3f90d01ba8fbf3f2e0f3f (diff)
Notes
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h
index f216d035a0cd..16227b59fe5b 100644
--- a/sys/dev/drm2/drmP.h
+++ b/sys/dev/drm2/drmP.h
@@ -250,7 +250,7 @@ enum {
#define msecs_to_jiffies(x) (((int64_t)(x)) * hz / 1000)
#define time_after(a,b) ((long)(b) - (long)(a) < 0)
#define time_after_eq(a,b) ((long)(b) - (long)(a) <= 0)
-#define drm_msleep(x, msg) pause((msg), ((int64_t)(x)) * 1000 / hz)
+#define drm_msleep(x, msg) pause((msg), ((int64_t)(x)) * hz / 1000)
typedef vm_paddr_t dma_addr_t;
typedef uint64_t u64;