From 5128542814215b26ed342e3a4ac2217606fe5e76 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Sun, 31 Oct 2004 15:16:44 +0000 Subject: Allow drivers to override reclaim_buffers in an OS-independent way by passing drm_device_t* as first parameter, like in the BSD version. --- linux/drm_dma.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linux/drm_dma.h') diff --git a/linux/drm_dma.h b/linux/drm_dma.h index 5cbdc931..dbf38dbf 100644 --- a/linux/drm_dma.h +++ b/linux/drm_dma.h @@ -154,10 +154,8 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf) * * Frees each buffer associated with \p filp not already on the hardware. */ -void DRM(core_reclaim_buffers)( struct file *filp ) +void DRM(core_reclaim_buffers)( drm_device_t *dev, struct file *filp ) { - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; drm_device_dma_t *dma = dev->dma; int i; -- cgit v1.2.3