summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/i915_dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/i915_dma.c b/shared/i915_dma.c
index cf0333f6..5aa287d6 100644
--- a/shared/i915_dma.c
+++ b/shared/i915_dma.c
@@ -97,8 +97,7 @@ int i915_dma_cleanup(drm_device_t * dev)
if (dev_priv->hw_status_page) {
#ifdef __FreeBSD__
#if __FreeBSD_version > 500000
- contigfree(dev_priv->hw_status_page, PAGE_SIZE,
- DRM(M_DRM));
+ contigfree(dev_priv->hw_status_page, PAGE_SIZE, M_DRM);
#endif
#else
pci_free_consistent(dev->pdev, PAGE_SIZE,