aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 52cf0b4634d4..7d92f08b88d7 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -2150,8 +2150,6 @@ static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp)
2150 * 2150 *
2151 * @name must be valid until the cache is destroyed. This implies that 2151 * @name must be valid until the cache is destroyed. This implies that
2152 * the module calling this has to destroy the cache before getting unloaded. 2152 * the module calling this has to destroy the cache before getting unloaded.
2153 * Note that kmem_cache_name() is not guaranteed to return the same pointer,
2154 * therefore applications must manage it themselves.
2155 * 2153 *
2156 * The flags are 2154 * The flags are
2157 * 2155 *
@@ -3843,12 +3841,6 @@ unsigned int kmem_cache_size(struct kmem_cache *cachep)
3843} 3841}
3844EXPORT_SYMBOL(kmem_cache_size); 3842EXPORT_SYMBOL(kmem_cache_size);
3845 3843
3846const char *kmem_cache_name(struct kmem_cache *cachep)
3847{
3848 return cachep->name;
3849}
3850EXPORT_SYMBOL_GPL(kmem_cache_name);
3851
3852/* 3844/*
3853 * This initializes kmem_list3 or resizes various caches for all nodes. 3845 * This initializes kmem_list3 or resizes various caches for all nodes.
3854 */ 3846 */