* [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c
@ 2009-11-03 4:27 Rusty Russell
2009-11-03 18:06 ` Christoph Lameter
0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2009-11-03 4:27 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, linux-mm
These days we use cpumask_empty() which takes a pointer.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-04 0:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03 4:27 [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c Rusty Russell
2009-11-03 18:06 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox