Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755877AbZKCE1h (ORCPT ); Mon, 2 Nov 2009 23:27:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755761AbZKCE1g (ORCPT ); Mon, 2 Nov 2009 23:27:36 -0500 Received: from ozlabs.org ([203.10.76.45]:39452 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755740AbZKCE1f (ORCPT ); Mon, 2 Nov 2009 23:27:35 -0500 To: linux-kernel@vger.kernel.org From: Rusty Russell Message-Id: <200911031457.39368.rusty@rustcorp.com.au> Date: Tue, 3 Nov 2009 14:57:39 +1030 Cc: Andrew Morton , linux-mm@kvack.org Subject: [PATCH 7/14] cpumask: avoid deprecated function in mm/slab.c MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 755 Lines: 26 These days we use cpumask_empty() which takes a pointer. Signed-off-by: Rusty Russell --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/