ARM: SMP: ensure smp_send_stop() waits for CPUs to stop
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Dec 2010 09:53:54 +0000 (09:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:08:26 +0000 (15:08 +0000)
commit28e18293cf0f8d23a0950d7b1d2212d11af494dc
treefbd27f23bbd1b85ef7b06cf4b5f733f46a929044
parent0eb0511d176534674600a1986c3c766756288908
ARM: SMP: ensure smp_send_stop() waits for CPUs to stop

Wait for CPUs to indicate that they've stopped, after sending the
stop IPI, rather than blindly continuing on and hoping that they've
stopped in time.  Print a warning if we fail to stop the other CPUs.

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