diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -2147,8 +2147,6 @@ static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) | |||
2147 | * | 2147 | * |
2148 | * @name must be valid until the cache is destroyed. This implies that | 2148 | * @name must be valid until the cache is destroyed. This implies that |
2149 | * the module calling this has to destroy the cache before getting unloaded. | 2149 | * the module calling this has to destroy the cache before getting unloaded. |
2150 | * Note that kmem_cache_name() is not guaranteed to return the same pointer, | ||
2151 | * therefore applications must manage it themselves. | ||
2152 | * | 2150 | * |
2153 | * The flags are | 2151 | * The flags are |
2154 | * | 2152 | * |
@@ -3840,12 +3838,6 @@ unsigned int kmem_cache_size(struct kmem_cache *cachep) | |||
3840 | } | 3838 | } |
3841 | EXPORT_SYMBOL(kmem_cache_size); | 3839 | EXPORT_SYMBOL(kmem_cache_size); |
3842 | 3840 | ||
3843 | const char *kmem_cache_name(struct kmem_cache *cachep) | ||
3844 | { | ||
3845 | return cachep->name; | ||
3846 | } | ||
3847 | EXPORT_SYMBOL_GPL(kmem_cache_name); | ||
3848 | |||
3849 | /* | 3841 | /* |
3850 | * This initializes kmem_list3 or resizes various caches for all nodes. | 3842 | * This initializes kmem_list3 or resizes various caches for all nodes. |
3851 | */ | 3843 | */ |