summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2007-11-05 10:02:46 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2007-11-05 10:02:46 +0000
commitd0956339e322238d2af5d63a2e65405ca3b8c4f8 (patch)
tree1aad7e511149c77b33de49ff55a1ffb5b7f5ed62 /linux-core
parent0bee83a8c8bca817459a0ee9caa6e13f3f1aa281 (diff)
Use _size
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index 0895e5e5..f861abfd 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -159,7 +159,7 @@ static __inline__ void *kcalloc(size_t nmemb, size_t size, int flags)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#define vmalloc_user(_size) ({void * tmp = vmalloc(_size); \
- if (tmp) memset(tmp, 0, size); \
+ if (tmp) memset(tmp, 0, _size); \
(tmp);})
#endif