diff options
author | Christoph Lameter <cl@linux.com> | 2012-07-06 16:25:11 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-07-09 05:13:35 -0400 |
commit | 97d06609158e61f6bdf538c4a6788e2de492236f (patch) | |
tree | fa3f57ff3e2d3f4f866d84dd9d634ade43941be8 /include/linux/slab.h | |
parent | 039363f38bfe5f6281e9eae5e0518b11577d9d50 (diff) |
mm, sl[aou]b: Common definition for boot state of the slab allocators
All allocators have some sort of support for the bootstrap status.
Setup a common definition for the boot states and make all slab
allocators use that definition.
Reviewed-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/linux/slab.h')
-rw-r--r-- | include/linux/slab.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 0cb7c7eb0416..0dd2dfa7beca 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -130,10 +130,6 @@ int kmem_cache_shrink(struct kmem_cache *); | |||
130 | void kmem_cache_free(struct kmem_cache *, void *); | 130 | void kmem_cache_free(struct kmem_cache *, void *); |
131 | unsigned int kmem_cache_size(struct kmem_cache *); | 131 | unsigned int kmem_cache_size(struct kmem_cache *); |
132 | 132 | ||
133 | /* Slab internal function */ | ||
134 | struct kmem_cache *__kmem_cache_create(const char *, size_t, size_t, | ||
135 | unsigned long, | ||
136 | void (*)(void *)); | ||
137 | /* | 133 | /* |
138 | * Please use this macro to create slab caches. Simply specify the | 134 | * Please use this macro to create slab caches. Simply specify the |
139 | * name of the structure and maybe some flags that are listed above. | 135 | * name of the structure and maybe some flags that are listed above. |