diff options
-rw-r--r-- | bsd-core/drm_os_freebsd.h | 4 | ||||
-rw-r--r-- | bsd/drm_os_freebsd.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bsd-core/drm_os_freebsd.h b/bsd-core/drm_os_freebsd.h index ff2a6460..1a3feb6e 100644 --- a/bsd-core/drm_os_freebsd.h +++ b/bsd-core/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 */ 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 */ |