[MIPS] Fix __raw_read_trylock() to allow multiple readers
authorDave Johnson <djohnson+linux-mips@sw.starentnetworks.com>
Tue, 6 Mar 2007 01:50:27 +0000 (20:50 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Mar 2007 00:07:17 +0000 (00:07 +0000)
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: Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found