summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
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 { \