aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2021-10-13 09:37:19 +0000
committerPavel Machek <[email protected]>2021-10-13 18:07:57 +0000
commit97b31c1f8eb865bc3aa5f4a08286a6406d782ea8 (patch)
tree8e091f2c560334b4b176b133c4fdea5c443b90dd /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentleds: trigger: use RCU to protect the led_cdevs list (diff)
downloadkernel-97b31c1f8eb865bc3aa5f4a08286a6406d782ea8.tar.gz
kernel-97b31c1f8eb865bc3aa5f4a08286a6406d782ea8.zip
leds: trigger: Disable CPU trigger on PREEMPT_RT
The CPU trigger is invoked on ARM from CPU-idle. That trigger later invokes led_trigger_event() which may invoke the callback of the actual driver. That driver can acquire a spinlock_t which is okay on kernel without PREEMPT_RT. On a PREEMPT_RT enabled kernel this lock is turned into a sleeping lock and must not be acquired with disabled interrupts. Disable the CPU trigger on PREEMPT_RT. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions