Commit 237f3db0 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Tiejun Chen
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 25fcbd65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment