[PATCH v2] ARM: Stop secondary cpus in machine_halt()

Olof Johansson olof at lixom.net
Mon Jul 26 11:26:12 EDT 2010


On Mon, Jul 26, 2010 at 01:31:13PM +0100, Russell King - ARM Linux wrote:
> On Mon, Jul 12, 2010 at 05:48:10PM +0100, Russell King - ARM Linux wrote:
> > Hmm... what about kexec on a SMP system, or we try to reboot a SMP
> > system?
> > 
> > The x86 code suggests that we put smp_send_stop() inside
> > machine_shutdown() (and move that function into arch/arm/kernel/process.c)
> > and call it from machine_halt() and machine_reboot().
> > 
> > This will cover the kexec and reboot cases too.
> 
> As no one's commented on this, I'm going to apply it later today for
> the next merge window - it seems to be the right way to solve this
> problem, and makes us reflect what x86 does.

Yeah, looks good to me.

Acked-by: Olof Johansson <olof at lixom.net>


-Olof



More information about the linux-arm-kernel mailing list