Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

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

 
   Soft32 Home -> Linux -> Kernel RSS
Next:  [PATCH 5/14] cpumask: use modern cpumask style in..  
Author Message
Rusty Russell

External


Since: Sep 16, 2003
Posts: 603



(Msg. 1) Posted: Mon Nov 02, 2009 11:20 pm
Post subject: [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c
Archived from groups: linux>kernel (more info?)

These days we use cpumask_empty() which takes a pointer.

Signed-off-by: Rusty Russell <rusty RemoveThis @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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo RemoveThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Christoph Lameter

External


Since: Nov 05, 2008
Posts: 144



(Msg. 2) Posted: Tue Nov 03, 2009 7:20 pm
Post subject: Re: [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

Acked-by: Christoph Lameter <cl.TakeThisOut@linux-foundation.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[PATCH] Remove the deprecated "kmem_cache_t" typedef from .. - Given that there is no remaining usage of the deprecated kmem_cache_t typedef anywhere in the tree, remove that typedef...

[PROBLEM] sleeping function called from invalid context at.. - Hello! I'm new to kernel programming and I try to develop a fake ethernet driver for v2.6.21.3 which I really need..

[RFC 0/3] Slab Defrag / Slab Targeted Reclaim and general .. - I originally intended this for the 2.6.23 development cycle but since there is an aggressive push for SLUB I thought..

[PATCH] SLAB: Mention slab name when listing corrupt objects - Mention the slab name when listing corrupt objects. Although the function that released the memory is mentioned, that....

[PATCH] slab: Fix slab debug for non alien caches. - Currently when slab debugging is enabled, the WARN_ON() nodeid checks trigger if we boot with 'noaliencache'. In the..

[PATCH] slab: remove colouroff from struct slab - From: Pekka Enberg <penberg@cs.helsinki.fi> As the color offset is always within the first page of the slab,..
       Soft32 Home -> Linux -> Kernel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]