ARM: CPU hotplug: ensure correct ordering of unplug
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Nov 2010 12:21:30 +0000 (12:21 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:09:11 +0000 (15:09 +0000)
commitf36d340122ae8744e64af0a92a6f77b97542c0a4
tree85f7d8dc6d1407ea0fd7b3673a8b9ce0ec9d7507
parentbbc81fd4327f9ed4480b05981e38acd48b1d184a
ARM: CPU hotplug: ensure correct ordering of unplug

Don't call idle_task_exit() with interrupts disabled, and ensure
that we have a memory barrier after interrupts are disabled but
before signalling that this CPU has shut down.

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