aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 3525a4ec9794..0bfd3863d521 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2075,7 +2075,7 @@ static inline int alloc_kmem_cache_cpus(struct kmem_cache *s, gfp_t flags)
2075 * Boot time creation of the kmalloc array. Use static per cpu data 2075 * Boot time creation of the kmalloc array. Use static per cpu data
2076 * since the per cpu allocator is not available yet. 2076 * since the per cpu allocator is not available yet.
2077 */ 2077 */
2078 s->cpu_slab = per_cpu_var(kmalloc_percpu) + (s - kmalloc_caches); 2078 s->cpu_slab = kmalloc_percpu + (s - kmalloc_caches);
2079 else 2079 else
2080 s->cpu_slab = alloc_percpu(struct kmem_cache_cpu); 2080 s->cpu_slab = alloc_percpu(struct kmem_cache_cpu);
2081 2081