random: Bring back the local_locks
As part of the backports the random code lost its local_lock_t type and the whole operation became a local_irq_{disable|enable}() simply because the older kernel did not provide those primitives. RT as of v4.9 has a slightly different variant of local_locks. Replace the local_irq_*() operations with matching local_lock_irq*() operations which were there as part of commit 77760fd7 ("random: remove batched entropy locking") Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/all/20220819092446.980320-2-bigeasy@linutronix.de/ Signed-off-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
parent
dd16ca9e
Please register or sign in to comment