Skip to content

Commit

Permalink
cpumask: avoid deprecated function in mm/slab.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell committed Dec 17, 2009
1 parent f6325e3 commit 58463c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ static void __cpuinit cpuup_canceled(long cpu)
if (nc)
free_block(cachep, nc->entry, nc->avail, node);

if (!cpus_empty(*mask)) {
if (!cpumask_empty(mask)) {
spin_unlock_irq(&l3->list_lock);
goto free_array_cache;
}
Expand Down

0 comments on commit 58463c1

Please sign in to comment.