]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: SMP: use a timing out completion for cpu hotplug
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 18 Jan 2012 15:59:45 +0000 (15:59 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 09:38:51 +0000 (09:38 +0000)
commit149c24151e8577b2a033639722dc5734de5e6eaf
tree2147e5cde46ab5f57880284b713786db933fe42a
parent94e5a85b3be0ce109d26aa6812b2a02c518a0e4b
ARM: SMP: use a timing out completion for cpu hotplug

Rather than open-coding the jiffy-based wait, and polling for the
secondary CPU to come online, use a completion instead.  This
removes the need to poll, instead we will be notified when the
secondary CPU has initialized.

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