diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2314,11 +2314,8 @@ static int __init_refok setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) | |||
2314 | 2314 | ||
2315 | /** | 2315 | /** |
2316 | * __kmem_cache_create - Create a cache. | 2316 | * __kmem_cache_create - Create a cache. |
2317 | * @name: A string which is used in /proc/slabinfo to identify this cache. | 2317 | * @cachep: cache management descriptor |
2318 | * @size: The size of objects to be created in this cache. | ||
2319 | * @align: The required alignment for the objects. | ||
2320 | * @flags: SLAB flags | 2318 | * @flags: SLAB flags |
2321 | * @ctor: A constructor for the objects. | ||
2322 | * | 2319 | * |
2323 | * Returns a ptr to the cache on success, NULL on failure. | 2320 | * Returns a ptr to the cache on success, NULL on failure. |
2324 | * Cannot be called within a int, but can be interrupted. | 2321 | * Cannot be called within a int, but can be interrupted. |