summaryrefslogtreecommitdiffstats
path: root/include/linux/cpuhotplug.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-06-18 11:32:30 -0400
committerGregory CLEMENT <gregory.clement@bootlin.com>2018-06-27 02:40:29 -0400
commit77bc8c28ddac90287bc42c129002eb703288d550 (patch)
tree0a17bf99d582a35563a543df992a2b7f6b2972de /include/linux/cpuhotplug.h
parentd0d378ff451a66e486488eec842e507d28145813 (diff)
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>
Diffstat (limited to 'include/linux/cpuhotplug.h')
-rw-r--r--include/linux/cpuhotplug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index 8796ba387152..fa54e5fbea38 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -143,6 +143,7 @@ enum cpuhp_state {
143 CPUHP_AP_SMPBOOT_THREADS, 143 CPUHP_AP_SMPBOOT_THREADS,
144 CPUHP_AP_X86_VDSO_VMA_ONLINE, 144 CPUHP_AP_X86_VDSO_VMA_ONLINE,
145 CPUHP_AP_IRQ_AFFINITY_ONLINE, 145 CPUHP_AP_IRQ_AFFINITY_ONLINE,
146 CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS,
146 CPUHP_AP_PERF_ONLINE, 147 CPUHP_AP_PERF_ONLINE,
147 CPUHP_AP_PERF_X86_ONLINE, 148 CPUHP_AP_PERF_X86_ONLINE,
148 CPUHP_AP_PERF_X86_UNCORE_ONLINE, 149 CPUHP_AP_PERF_X86_UNCORE_ONLINE,