diff options
Diffstat (limited to 'include/linux/mempool.h')
-rw-r--r-- | include/linux/mempool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mempool.h b/include/linux/mempool.h index b19b3023c880..69b6951e8fd2 100644 --- a/include/linux/mempool.h +++ b/include/linux/mempool.h | |||
@@ -36,7 +36,8 @@ extern void mempool_free(void *element, mempool_t *pool); | |||
36 | 36 | ||
37 | /* | 37 | /* |
38 | * A mempool_alloc_t and mempool_free_t that get the memory from | 38 | * A mempool_alloc_t and mempool_free_t that get the memory from |
39 | * a slab that is passed in through pool_data. | 39 | * a slab cache that is passed in through pool_data. |
40 | * Note: the slab cache may not have a ctor function. | ||
40 | */ | 41 | */ |
41 | void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data); | 42 | void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data); |
42 | void mempool_free_slab(void *element, void *pool_data); | 43 | void mempool_free_slab(void *element, void *pool_data); |