ARM: SMP implementations are not supposed to return from smp_ops.cpu_die()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 11 Jan 2014 11:25:37 +0000 (11:25 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jan 2014 16:42:14 +0000 (16:42 +0000)
commit668bc38669f9a6d5e91846e9435b22b196cee9d1
tree046fcce2bb5b90725e9cf35a5f69cfcf3ee33749
parent571b14375019c3a66ef70d4d4a7083f4238aca30
ARM: SMP implementations are not supposed to return from smp_ops.cpu_die()

Although we allow recovery in this case, this is not supposed to be
the normal path for hotplugging a CPU back in.  This path only exists
to serve those rare platforms where it's not possible to power down
the CPU or reset the CPU.  This patch causes the kernel to print a
message when a platform uses this path.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c