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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment