summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f216d03..16227b5 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;
OpenPOWER on IntegriCloud