aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/slab.c b/mm/slab.c
index b58400285030..9a90b00d2f91 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1169,7 +1169,7 @@ static void __cpuinit cpuup_canceled(long cpu)
1169 struct kmem_cache *cachep; 1169 struct kmem_cache *cachep;
1170 struct kmem_list3 *l3 = NULL; 1170 struct kmem_list3 *l3 = NULL;
1171 int node = cpu_to_node(cpu); 1171 int node = cpu_to_node(cpu);
1172 node_to_cpumask_ptr(mask, node); 1172 const struct cpumask *mask = cpumask_of_node(node);
1173 1173
1174 list_for_each_entry(cachep, &cache_chain, next) { 1174 list_for_each_entry(cachep, &cache_chain, next) {
1175 struct array_cache *nc; 1175 struct array_cache *nc;
@@ -4047,8 +4047,7 @@ static void cache_reap(struct work_struct *w)
4047 struct kmem_cache *searchp; 4047 struct kmem_cache *searchp;
4048 struct kmem_list3 *l3; 4048 struct kmem_list3 *l3;
4049 int node = numa_node_id(); 4049 int node = numa_node_id();
4050 struct delayed_work *work = 4050 struct delayed_work *work = to_delayed_work(w);
4051 container_of(w, struct delayed_work, work);
4052 4051
4053 if (!mutex_trylock(&cache_chain_mutex)) 4052 if (!mutex_trylock(&cache_chain_mutex))
4054 /* Give up. Setup the next iteration. */ 4053 /* Give up. Setup the next iteration. */