summaryrefslogtreecommitdiff
path: root/bsd-core/radeon_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core/radeon_drv.c')
-rw-r--r--bsd-core/radeon_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/radeon_drv.c b/bsd-core/radeon_drv.c
index fc29d37b..019f705c 100644
--- a/bsd-core/radeon_drv.c
+++ b/bsd-core/radeon_drv.c
@@ -90,7 +90,7 @@ radeon_attach(device_t nbdev)
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
radeon_configure(dev);
return drm_attach(nbdev, radeon_pciidlist);