aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2014-06-04 19:07:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:53:59 -0400
commite8d9df3abac5d02dd4e6a0041cb62e69189b2c8e (patch)
tree89911c05bb3a39ca13712e75c9205eb419cb3477 /mm
parent5f7a75acdb24c7b9c436b3a0a66eec12e101d19c (diff)
memcg: un-export __memcg_kmem_get_cache
It is only used in slab and should not be used anywhere else so there is no need in exporting it. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 20f47d9cd8b2..c1b816f61536 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -3513,7 +3513,6 @@ out:
3513 rcu_read_unlock(); 3513 rcu_read_unlock();
3514 return cachep; 3514 return cachep;
3515} 3515}
3516EXPORT_SYMBOL(__memcg_kmem_get_cache);
3517 3516
3518/* 3517/*
3519 * We need to verify if the allocation against current->mm->owner's memcg is 3518 * We need to verify if the allocation against current->mm->owner's memcg is