aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2020-11-17 11:37:50 +0100
committerJonathan Cameron <[email protected]>2020-12-03 19:40:30 +0000
commit0178297c1e6898e2197fe169ef3be723e019b971 (patch)
treed984cf666b5c4ca8c35333049a57de77e90b9164 /lib/mpi/mpi-mod.c
parent8a0672003421fa153d380ad863a405565bf551af (diff)
iio: hrtimer-trigger: Mark hrtimer to expire in hard interrupt context
On PREEMPT_RT enabled kernels unmarked hrtimers are moved into soft interrupt expiry mode by default. The IIO hrtimer-trigger needs to run in hard interrupt context since it will end up calling generic_handle_irq() which has the requirement to run in hard interrupt context. Explicitly specify that the timer needs to run in hard interrupt context by using the HRTIMER_MODE_REL_HARD flag. Fixes: f5c2f0215e36 ("hrtimer: Move unmarked hrtimers to soft interrupt expiry on RT") Reported-by: Christian Eggers <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions