Files
erofs-linux/include/clocksource
Marek Szyprowski 3b212f9d70 clocksource/drivers/samsung_pwm: Switch to raw_spinlock_t type
Samsung PWM timer might be used as a clock source on some legacy systems.
When PREEMPT_RT is enabled on ARM, regular spinlock is converted to a
sleeping lock (mutex-based), which must not be used in atomic context
such as hard interrupt handlers. Switch the samsung_pwm_lock to the
raw_spinlock, which remains a true non-sleeping spinlock even
under PREEMPT_RT.

Fixes: 7aac482e62 ("clocksource: samsung_pwm_timer: Make PWM spinlock global")
Fixes: f11899894c ("clocksource: add samsung pwm timer driver")
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-08-13 18:13:15 +02:00
..
…