Messages in this thread | | | Date | Mon, 29 Dec 2008 09:37:44 -0600 | From | Dean Nelson <> | Subject | Re: [PATCH 7/8] cpumask: convert misc driver functions |
| |
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 <rusty@rustcorp.com.au> > Signed-off-by: Mike Travis <travis@sgi.com>
[...]
> --- 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 <dcn@sgi.com>
| |