diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2111,8 +2111,8 @@ init_kmem_cache_node(struct kmem_cache_node *n, struct kmem_cache *s) | |||
2111 | */ | 2111 | */ |
2112 | #define NR_KMEM_CACHE_CPU 100 | 2112 | #define NR_KMEM_CACHE_CPU 100 |
2113 | 2113 | ||
2114 | static DEFINE_PER_CPU(struct kmem_cache_cpu, | 2114 | static DEFINE_PER_CPU(struct kmem_cache_cpu [NR_KMEM_CACHE_CPU], |
2115 | kmem_cache_cpu)[NR_KMEM_CACHE_CPU]; | 2115 | kmem_cache_cpu); |
2116 | 2116 | ||
2117 | static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); | 2117 | static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); |
2118 | static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS); | 2118 | static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS); |