diff options
author | Christoph Lameter <cl@linux.com> | 2013-01-10 14:12:17 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-02-01 05:32:07 -0500 |
commit | 9425c58e5445277699ff3c2a87bac1cfebc1b48d (patch) | |
tree | 1158c67347c53ed09cd289687abf02a5c986daee /include/linux/slab_def.h | |
parent | 95a05b428cc675694321c8f762591984f3fd2b1e (diff) |
slab: Common definition for the array of kmalloc caches
Have a common definition fo the kmalloc cache arrays in
SLAB and SLUB
Acked-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/linux/slab_def.h')
-rw-r--r-- | include/linux/slab_def.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h index 4ff50e8d1a2c..113ec080313f 100644 --- a/include/linux/slab_def.h +++ b/include/linux/slab_def.h | |||
@@ -102,9 +102,6 @@ struct kmem_cache { | |||
102 | */ | 102 | */ |
103 | }; | 103 | }; |
104 | 104 | ||
105 | extern struct kmem_cache *kmalloc_caches[PAGE_SHIFT + MAX_ORDER]; | ||
106 | extern struct kmem_cache *kmalloc_dma_caches[PAGE_SHIFT + MAX_ORDER]; | ||
107 | |||
108 | void *kmem_cache_alloc(struct kmem_cache *, gfp_t); | 105 | void *kmem_cache_alloc(struct kmem_cache *, gfp_t); |
109 | void *__kmalloc(size_t size, gfp_t flags); | 106 | void *__kmalloc(size_t size, gfp_t flags); |
110 | 107 | ||