Re: [PATCH] powerpc: convert old cpumask API into new one

2011-04-28 Thread Thiago Farina
On Thu, Apr 28, 2011 at 12:07 PM, KOSAKI Motohiro wrote: > Adapt new API. > > Almost change is trivial. Most important change is the below line > because we plan to change task->cpus_allowed implementation. > > -       ctx->cpus_allowed = current->cpus_allowed; > > Signed-off-by: KOSAKI Motohiro

[PATCH] powerpc: convert old cpumask API into new one

2011-04-28 Thread KOSAKI Motohiro
Adapt new API. Almost change is trivial. Most important change is the below line because we plan to change task->cpus_allowed implementation. - ctx->cpus_allowed = current->cpus_allowed; Signed-off-by: KOSAKI Motohiro Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.

Re: [PATCH] powerpc: convert old cpumask API into new one

2011-04-28 Thread KOSAKI Motohiro
> > @@ -268,9 +269,9 @@ void __init cbe_regs_init(void) > >                                thread->regs = map; > >                                thread->cbe_id = cbe_id; > >                                map->be_node = thread->be_node; > > -                               cpu_set(i, cbe_local_mask