summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-12-17 11:43:12 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-12-17 11:43:13 +1030
commit58463c1fe25f7c4183f30f06a5a86cb6cd9d8231 (patch)
tree62b52d0ccbf7fc258627492240fb1ca1770639cc /mm/slab.c
parentf6325e30ebd6fc870315b017a5d4a6ab15bf790b (diff)
downloadlinux-58463c1fe25f7c4183f30f06a5a86cb6cd9d8231.tar.gz
linux-58463c1fe25f7c4183f30f06a5a86cb6cd9d8231.tar.bz2
linux-58463c1fe25f7c4183f30f06a5a86cb6cd9d8231.zip
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>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 3f4822938f46..7560eb00637c 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -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;
}