summaryrefslogtreecommitdiff
path: root/linux-core
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-core
parent708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8 (diff)
DRM_FREE/2 patch from Philip Brown
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_dma.c2
-rw-r--r--linux-core/drm_os_linux.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index df4ed809..50ff2518 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -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-core/drm_os_linux.h b/linux-core/drm_os_linux.h
index 332c3fd9..b99b4899 100644
--- a/linux-core/drm_os_linux.h
+++ b/linux-core/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 { \