OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bee83a
)
Use _size
author
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 5 Nov 2007 10:02:46 +0000
(10:02 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 5 Nov 2007 10:02:46 +0000
(10:02 +0000)
linux-core/drm_compat.h
patch
|
blob
|
history
diff --git
a/linux-core/drm_compat.h
b/linux-core/drm_compat.h
index
0895e5e
..
f861abf
100644
(file)
--- 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