Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752496AbYL2Phz (ORCPT ); Mon, 29 Dec 2008 10:37:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751509AbYL2Phr (ORCPT ); Mon, 29 Dec 2008 10:37:47 -0500 Received: from relay3.sgi.com ([192.48.171.31]:57237 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751428AbYL2Phr (ORCPT ); Mon, 29 Dec 2008 10:37:47 -0500 Date: Mon, 29 Dec 2008 09:37:44 -0600 From: Dean Nelson To: Mike Travis Cc: Ingo Molnar , Rusty Russell , linux-kernel@vger.kernel.org, Ben Hutchings , Jeremy Fitzhardinge , Robert Richter Subject: Re: [PATCH 7/8] cpumask: convert misc driver functions Message-ID: <20081229153744.GA6512@sgi.com> References: <20081219160144.697518000@polaris-admin.engr.sgi.com> <20081219160145.672392000@polaris-admin.engr.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081219160145.672392000@polaris-admin.engr.sgi.com> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1131 Lines: 32 On Fri, Dec 19, 2008 at 08:01:51AM -0800, Mike Travis wrote: > Impact: Reduce stack usage, use new cpumask API. > > Convert misc driver functions to use struct cpumask. > > To Do: > - Convert iucv_buffer_cpumask to cpumask_var_t. > > Signed-off-by: Rusty Russell > Signed-off-by: Mike Travis [...] > --- linux-2.6-for-ingo.orig/drivers/misc/sgi-xp/xpc_main.c > +++ linux-2.6-for-ingo/drivers/misc/sgi-xp/xpc_main.c > @@ -318,7 +318,7 @@ xpc_hb_checker(void *ignore) > > /* this thread was marked active by xpc_hb_init() */ > > - set_cpus_allowed_ptr(current, &cpumask_of_cpu(XPC_HB_CHECK_CPU)); > + set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); > > /* set our heartbeating to other partitions into motion */ > xpc_hb_check_timeout = jiffies + (xpc_hb_check_interval * HZ); Acked-by: Dean Nelson -- 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/