diff options
| author | Keith Whitwell <keith@tungstengraphics.com> | 2003-03-04 11:41:12 +0000 | 
|---|---|---|
| committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-03-04 11:41:12 +0000 | 
| commit | 51e5f73d2a4020a1bae860057bae2b0eff8e9c70 (patch) | |
| tree | fef2776867e95d4e7df99f41279dce7c18a2d55e /linux | |
| parent | 708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8 (diff) | |
DRM_FREE/2 patch from Philip Brown
Diffstat (limited to 'linux')
| -rw-r--r-- | linux/drm_dma.h | 2 | ||||
| -rw-r--r-- | linux/drm_os_linux.h | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/linux/drm_dma.h b/linux/drm_dma.h index df4ed809..50ff2518 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 332c3fd9..b99b4899 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 { 									 \ | 
