2009-11-03 04:27:37

by Rusty Russell

[permalink] [raw]
Subject: [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(-)

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;
}


2009-11-04 00:01:37

by Christoph Lameter

[permalink] [raw]
Subject: Re: [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c

On Tue, 3 Nov 2009, Rusty Russell wrote
>
> These days we use cpumask_empty() which takes a pointer.

Acked-by: Christoph Lameter <[email protected]>