diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/quicklist.c | 2 | ||||
-rw-r--r-- | mm/slub.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mm/quicklist.c b/mm/quicklist.c index e66d07d1b4ff..6eedf7e473d1 100644 --- a/mm/quicklist.c +++ b/mm/quicklist.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/quicklist.h> | 20 | #include <linux/quicklist.h> |
21 | 21 | ||
22 | DEFINE_PER_CPU(struct quicklist, quicklist)[CONFIG_NR_QUICK]; | 22 | DEFINE_PER_CPU(struct quicklist [CONFIG_NR_QUICK], quicklist); |
23 | 23 | ||
24 | #define FRACTION_OF_NODE_MEM 16 | 24 | #define FRACTION_OF_NODE_MEM 16 |
25 | 25 | ||
@@ -2086,8 +2086,8 @@ init_kmem_cache_node(struct kmem_cache_node *n, struct kmem_cache *s) | |||
2086 | */ | 2086 | */ |
2087 | #define NR_KMEM_CACHE_CPU 100 | 2087 | #define NR_KMEM_CACHE_CPU 100 |
2088 | 2088 | ||
2089 | static DEFINE_PER_CPU(struct kmem_cache_cpu, | 2089 | static DEFINE_PER_CPU(struct kmem_cache_cpu [NR_KMEM_CACHE_CPU], |
2090 | kmem_cache_cpu)[NR_KMEM_CACHE_CPU]; | 2090 | kmem_cache_cpu); |
2091 | 2091 | ||
2092 | static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); | 2092 | static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); |
2093 | static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS); | 2093 | static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS); |