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

From: Zwane Mwaikambo
Date: Mon May 08 2006 - 02:42:31 EST


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?

-
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/