ARM: 6402/1: Don't send IPI in smp_send_stop if there's only one CPU
authorTony Lindgren <tony@atomide.com>
Mon, 20 Sep 2010 23:43:19 +0000 (00:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Oct 2010 19:23:36 +0000 (20:23 +0100)
commitf9e417e901e891d139f4d5fd750959e4a862d9f7
tree39461fd5a6e3d0e22143d6bed91b54928c9ee62f
parentf00ec48fadf5e37e7889f14cff900aa70d18b644
ARM: 6402/1: Don't send IPI in smp_send_stop if there's only one CPU

No need to send IPI if there's one CPU, especially when booting
systems with CONFIG_SMP_ON_UP that may not even support IPI.

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