summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-12-17 18:43:12 +0100
committerRusty Russell <rusty@rustcorp.com.au>2009-12-17 02:13:13 +0100
commit58463c1fe25f7c4183f30f06a5a86cb6cd9d8231 (patch)
tree62b52d0ccbf7fc258627492240fb1ca1770639cc /mm/slab.c
parentcpumask: use cpu_online in kernel/perf_event.c (diff)
downloadlinux-58463c1fe25f7c4183f30f06a5a86cb6cd9d8231.tar.xz
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;
}