ARM: mvebu: convert secondary CPU clock sync to hotplug state
authorLucas Stach <l.stach@pengutronix.de>
Mon, 18 Jun 2018 15:32:30 +0000 (17:32 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 27 Jun 2018 06:40:29 +0000 (08:40 +0200)
commit77bc8c28ddac90287bc42c129002eb703288d550
tree0a17bf99d582a35563a543df992a2b7f6b2972de
parentd0d378ff451a66e486488eec842e507d28145813
ARM: mvebu: convert secondary CPU clock sync to hotplug state

The current call site in boot_secondary is causing sleep in invalid context
warnings, as this part of the code is running with interrrupts disabled and
some of the calls into the clock framework might sleep on a mutex.

Convert the secondary CPU clock sync to a hotplug state, which allows to
call it from a sleepable context.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/mach-mvebu/platsmp.c
include/linux/cpuhotplug.h