cpumask: avoid deprecated function in mm/slab.c
These days we use cpumask_empty() which takes a pointer. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Christoph Lameter <cl@linux-foundation.org>
This commit is contained in:
parent
f6325e30eb
commit
58463c1fe2
@ -1132,7 +1132,7 @@ static void __cpuinit cpuup_canceled(long cpu)
|
|||||||
if (nc)
|
if (nc)
|
||||||
free_block(cachep, nc->entry, nc->avail, node);
|
free_block(cachep, nc->entry, nc->avail, node);
|
||||||
|
|
||||||
if (!cpus_empty(*mask)) {
|
if (!cpumask_empty(mask)) {
|
||||||
spin_unlock_irq(&l3->list_lock);
|
spin_unlock_irq(&l3->list_lock);
|
||||||
goto free_array_cache;
|
goto free_array_cache;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user