summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-03-04 11:41:12 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-03-04 11:41:12 +0000
commit51e5f73d2a4020a1bae860057bae2b0eff8e9c70 (patch)
treefef2776867e95d4e7df99f41279dce7c18a2d55e /linux
parent708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8 (diff)
DRM_FREE/2 patch from Philip Brown
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_dma.h2
-rw-r--r--linux/drm_os_linux.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drm_dma.h b/linux/drm_dma.h
index df4ed809f..50ff25182 100644
--- a/linux/drm_dma.h
+++ b/linux/drm_dma.h
@@ -714,7 +714,7 @@ void DRM(vbl_send_signals)( drm_device_t *dev )
list_del( (struct list_head *) vbl_sig );
- DRM_FREE( vbl_sig );
+ DRM_FREE(vbl_sig,sizeof(*vbl_sig));
dev->vbl_pending--;
}
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h
index 332c3fd99..b99b48997 100644
--- a/linux/drm_os_linux.h
+++ b/linux/drm_os_linux.h
@@ -42,7 +42,7 @@
/* malloc/free without the overhead of DRM(alloc) */
#define DRM_MALLOC(x) kmalloc(x, GFP_KERNEL)
-#define DRM_FREE(x) kfree(x)
+#define DRM_FREE(x,size) kfree(x)
#define DRM_GETSAREA() \
do { \