Re: [PATCH 14/14] cpumask: don't recommend set_cpus_allowed hack in Documentation/cpu-hotplug.txt

From: Rusty Russell
Date: Wed Nov 04 2009 - 03:02:43 EST


On Tue, 3 Nov 2009 04:27:23 pm Gautham R Shenoy wrote:
> Hi Rusty,
>
> On Tue, Nov 03, 2009 at 02:59:06PM +1030, Rusty Russell wrote:
...
> > + int err;
> > + cpu_hotplug_lock();
> ^^^^^^^^^^^^^^^^^^^
> This needs to be get_online_cpus();

Thanks, both fixed!

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