]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:42 +0000 (08:34 +0200)
commit3fa0c583e67292bc121b3723b13dc99d507896ed
treec57674859c7d65267b1cebdef71b4c17855a96c3
parent8869d8786d6bf282266efe32d365ad998e290786
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