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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux