xen/arm: do not call __cpu_disable on machine_halt
PATCH 1/1 xen/arm: do not call __cpu_disable on machine_halt
__cpu_disable shouldn't be called on machine_halt, in fact it cannot
succeed: cpu_disable_scheduler won't be able to migrate away vcpus to others pcpus.
Signed-off-by Stefano Stabellini <[email protected]>
--- xen/arch/arm/shutdown.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
xen/arch/arm/shutdown.c +0 -1
@@ -25,7 +25,6 @@ static void raw_machine_reset(void)static void halt_this_cpu (void *arg) { -__cpu_disable ();stop_cpu (); }
Signature · 1 line
1.7.2.5
Quoted 5 lines · Stefano Stabellini
__cpu_disableshouldn't be called onmachine_halt, in fact it cannot
succeed:cpu_disable_schedulerwon't be able to migrate away vcpus to others pcpus.Signed-off-by Stefano Stabellini <[email protected]>
Acked + applied.