aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2021-02-17 06:19:09 +0000
committerVasily Gorbik <[email protected]>2021-02-23 23:31:22 +0000
commitf213e5502d2e68f141a4e3faadffd03000224192 (patch)
tree793cc80cab0f72c41585ceaee890088e053cbfb9 /drivers/pwm/pwm-stm32-lp.c
parents390/smp: __smp_rescan_cpus() - move cpumask away from stack (diff)
downloadkernel-f213e5502d2e68f141a4e3faadffd03000224192.tar.gz
kernel-f213e5502d2e68f141a4e3faadffd03000224192.zip
s390/smp: smp_emergency_stop() - move cpumask away from stack
Make "cpumask_t cpumask" a static variable to avoid a potential large stack frame. Also protect against potential concurrent callers by introducing a local lock. Note: smp_emergency_stop() gets only called with irqs and machine checks disabled, therefore a cpu local deadlock is not possible. For concurrent callers the first cpu which enters the critical section wins and will stop all other cpus. Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions