projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'module-misc-v4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
include
/
drm
/
drm_mem_util.h
diff --git
a/include/drm/drm_mem_util.h
b/include/drm/drm_mem_util.h
index
19a2404
..
e42495a
100644
(file)
--- a/
include/drm/drm_mem_util.h
+++ b/
include/drm/drm_mem_util.h
@@
-56,10
+56,7
@@
static __inline__ void *drm_malloc_ab(size_t nmemb, size_t size)
static __inline void drm_free_large(void *ptr)
{
- if (!is_vmalloc_addr(ptr))
- return kfree(ptr);
-
- vfree(ptr);
+ kvfree(ptr);
}
#endif