aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/quicklist.c2
-rw-r--r--mm/slub.c4
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
22DEFINE_PER_CPU(struct quicklist, quicklist)[CONFIG_NR_QUICK]; 22DEFINE_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
diff --git a/mm/slub.c b/mm/slub.c
index ce62b770e2fc..23bb79acc4b9 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -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
2089static DEFINE_PER_CPU(struct kmem_cache_cpu, 2089static 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
2092static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); 2092static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free);
2093static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS); 2093static DECLARE_BITMAP(kmem_cach_cpu_free_init_once, CONFIG_NR_CPUS);