cpumask: avoid deprecated function in mm/slab.c
PATCH 7/14 cpumask: avoid deprecated function in mm/slab.c
These days we use cpumask_empty() which takes a pointer.
Signed-off-by Rusty Russell <[email protected]>
--- mm/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/slab.c +1 -1
@@ -1120,7 +1120,7 @@ static void __cpuinit cpuup_canceled(lonif (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; }
On Tue, 3 Nov 2009, Rusty Russell wrote
Quoted 2 lines
These days we use
cpumask_empty()which takes a pointer.