Commit 0030d6b9 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior
Browse files

srcu: replace local_irqsave() with a locallock



There are two instances which disable interrupts in order to become a
stable this_cpu_ptr() pointer. The restore part is coupled with
spin_unlock_irqrestore() which does not work on RT.
Replace the local_irq_save() call with the appropriate local_lock()
version of it.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
parent db64ef59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment