memcg: un-export __memcg_kmem_get_cache
authorVladimir Davydov <vdavydov@parallels.com>
Wed, 4 Jun 2014 23:07:17 +0000 (16:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:59 +0000 (16:53 -0700)
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>
mm/memcontrol.c

index 20f47d9cd8b24aa613134e8d00df41cb40834c17..c1b816f61536bfe76d8a7e2474599d714c83806b 100644 (file)
@@ -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