Commit a33c359c authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior
Browse files

random: avoid preempt_disable()ed section



extract_crng() will use sleeping locks while in a preempt_disable()
section due to get_cpu_var().
Work around it with local_locks.

Cc: stable-rt@vger.kernel.org # where it applies to
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
parent 0e2ca4bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment