On Wed, Jun 26, 2013 at 02:00:04AM +0530, Srivatsa S. Bhat wrote: > Once stop_machine() is gone from the CPU offline path, we won't be able > to depend on disabling preemption to prevent CPUs from going offline > from under us. > > Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going > offline, while invoking from atomic context. > > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: de...@driverdev.osuosl.org > Acked-by: David Daney <david.da...@cavium.com> > Signed-off-by: Srivatsa S. Bhat <srivatsa.b...@linux.vnet.ibm.com>
Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev