Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d52c2d5a authored by Dave Johnson's avatar Dave Johnson Committed by Ralf Baechle
Browse files

[MIPS] Fix __raw_read_trylock() to allow multiple readers



A deadlock can occur for mixed irq and non-irq rwlock readers if a 2nd
reader attempts to take lock by looping around __raw_read_trylock().

Signed-off-by: default avatarDave Johnson <djohnson+linux-mips@sw.starentnetworks.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d0c91ae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment