]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:56 +0000 (14:11 +0200)
commit8dd7d55023ef1853f1ada197324714130c997257
treec57674859c7d65267b1cebdef71b4c17855a96c3
parentb5f1a63699bc6a23521502c7d56db5d9ef7091ad
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