Skip to content
Snippets Groups Projects
Commit 3d3f78d7 authored by Russell King's avatar Russell King
Browse files

ARM: call machine_shutdown() from machine_halt(), etc


x86 calls machine_shutdown() from the various machine_*() calls which
take the machine down ready for halting, restarting, etc, and uses
this to bring the system safely to a point where those actions can be
performed.  Such actions are stopping the secondary CPUs.

So, change the ARM implementation of these to reflect what x86 does.

This solves kexec problems on ARM SMP platforms, where the secondary
CPUs were left running across the kexec call.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 5388a6b2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment