diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-30 09:01:50 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-30 09:01:50 +0000 |
commit | 7809efc8c32520e6b25c143ee3276edbf534ed14 (patch) | |
tree | cfa0ada45d368025b7506277fb4d2d22db243518 /linux/drm_os_linux.h | |
parent | 08de6e5b04c1950a5f396315e59d2476726e26d8 (diff) |
drm-memory patch, cleans up alloc/free and makes calloc look more libc like
Diffstat (limited to 'linux/drm_os_linux.h')
-rw-r--r-- | linux/drm_os_linux.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h index 5a7c162d..bf58a1c2 100644 --- a/linux/drm_os_linux.h +++ b/linux/drm_os_linux.h @@ -85,11 +85,6 @@ typedef void irqreturn_t; __put_user(val, uaddr) -/** 'malloc' without the overhead of DRM(alloc)() */ -#define DRM_MALLOC(x) kmalloc(x, GFP_KERNEL) -/** 'free' without the overhead of DRM(free)() */ -#define DRM_FREE(x,size) kfree(x) - #define DRM_GET_PRIV_WITH_RETURN(_priv, _filp) _priv = _filp->private_data /** |