diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 22:02:53 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 22:02:53 +0400 |
commit | 39f1f78d53b9bcbca91967380c5f0f2305a5c55f (patch) | |
tree | 83020c0da45781d7b205193dd7327952133f2194 /include | |
parent | 50c6e282bdf5e8dabf8d7cf7b162545a55645fd9 (diff) | |
download | linux-39f1f78d53b9bcbca91967380c5f0f2305a5c55f.tar.xz |
nick kvfree() from apparmor
too many places open-code it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index bf9811e1321a..d6777060449f 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -370,6 +370,8 @@ static inline int is_vmalloc_or_module_addr(const void *x) } #endif +extern void kvfree(const void *addr); + static inline void compound_lock(struct page *page) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE |