Re: [PATCH 2/10] make some arch depend routines accept cpumask

From: Shaohua Li
Date: Mon May 08 2006 - 03:19:45 EST


On Sun, 2006-05-07 at 23:17 -0700, Zwane Mwaikambo wrote:
> On Mon, 8 May 2006, Shaohua Li wrote:
>
> > +int __cpuexit __cpu_disable(cpumask_t remove_mask)
> > {
> > unsigned int cpu = smp_processor_id();
> > struct task_struct *p;
> > int ret;
> >
> > + BUG_ON(cpus_weight(remove_mask) != 1);
> > ret = mach_cpu_disable(cpu);
>
> What is this extra argument actually used for?
Next patches will use it. Here we just want to make compilation work.

Thanks,
Shaohua
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/