From: Vladimir Davydov Date: Wed, 4 Jun 2014 23:07:17 +0000 (-0700) Subject: memcg: un-export __memcg_kmem_get_cache X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e8d9df3abac5d02dd4e6a0041cb62e69189b2c8e;p=linux-beck.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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: rcu_read_unlock(); return cachep; } -EXPORT_SYMBOL(__memcg_kmem_get_cache); /* * We need to verify if the allocation against current->mm->owner's memcg is