summaryrefslogtreecommitdiff
path: root/bsd/drm_os_freebsd.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2003-02-05 01:48:29 +0000
committerIan Romanick <idr@us.ibm.com>2003-02-05 01:48:29 +0000
commit3bf1f686a5d81a54c7e569a1fc1a5226b07898b6 (patch)
tree4c0073db241e250e23bb29662ffad6a04f7f9ba9 /bsd/drm_os_freebsd.h
parent2236fc781b306ebbf8afa10da0b92f40dfdc64b4 (diff)
Diffstat (limited to 'bsd/drm_os_freebsd.h')
-rw-r--r--bsd/drm_os_freebsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h
index ff2a6460..1a3feb6e 100644
--- a/bsd/drm_os_freebsd.h
+++ b/bsd/drm_os_freebsd.h
@@ -188,6 +188,10 @@ do { \
#define PAGE_ALIGN(addr) round_page(addr)
+
+#ifndef M_WAITOK /* M_WAITOK (=0) name removed in -current */
+#define M_WAITOK 0
+#endif
#define malloctype DRM(M_DRM)
/* The macros confliced in the MALLOC_DEFINE */