diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||