* [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c
@ 2009-11-03 4:27 ` Rusty Russell
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
* [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c
@ 2009-11-03 4:27 ` Rusty Russell
0 siblings, 0 replies; 4+ 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;
}
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [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
-1 siblings, 0 replies; 4+ messages in thread
From: Christoph Lameter @ 2009-11-03 18:06 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-kernel, Andrew Morton, linux-mm, Pekka Enberg
On Tue, 3 Nov 2009, Rusty Russell wrote
>
> These days we use cpumask_empty() which takes a pointer.
Acked-by: Christoph Lameter <cl@linux-foundation.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c
@ 2009-11-03 18:06 ` Christoph Lameter
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Lameter @ 2009-11-03 18:06 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-kernel, Andrew Morton, linux-mm, Pekka Enberg
On Tue, 3 Nov 2009, Rusty Russell wrote
>
> These days we use cpumask_empty() which takes a pointer.
Acked-by: Christoph Lameter <cl@linux-foundation.org>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-04 1:40 UTC | newest]
Thread overview: 4+ 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 4:27 ` Rusty Russell
2009-11-03 18:06 ` Christoph Lameter
2009-11-03 18:06 ` Christoph Lameter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.