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(-)
diff --git a/mm/slab.c b/mm/slab.c
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1120,7 +1120,7 @@ static void __cpuinit cpuup_canceled(lon
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;
}
On Tue, 3 Nov 2009, Rusty Russell wrote
>
> These days we use cpumask_empty() which takes a pointer.
Acked-by: Christoph Lameter <[email protected]>