summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/drm_memory.h')
-rw-r--r--sys/dev/drm/drm_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_memory.h b/sys/dev/drm/drm_memory.h
index 81fa561..c6f319c 100644
--- a/sys/dev/drm/drm_memory.h
+++ b/sys/dev/drm/drm_memory.h
@@ -288,7 +288,7 @@ unsigned long DRM(alloc_pages)(int order, int area)
address = __get_free_pages(GFP_KERNEL, order);
#endif /* __linux__ */
#ifdef __FreeBSD__
- address = (vm_offset_t) contigmalloc(bytes, DRM(M_DRM), M_WAITOK, 0, ~0, 1, 0);
+ address = (vm_offset_t) contigmalloc(bytes, DRM(M_DRM), 0, 0, ~0, 1, 0);
#endif /* __FreeBSD__ */
if (!address) {
DRM_OS_SPINLOCK(&DRM(mem_lock));
OpenPOWER on IntegriCloud