commit | d52c2d5a626a2cb1848fa7063b3ab79e2752dac7 | [log] [tgz] |
---|---|---|
author | Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com> | Mon Mar 05 20:50:27 2007 -0500 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Mar 07 00:07:17 2007 +0000 |
tree | de525a4b04f3710d965a662f26d402e872a21247 | |
parent | d0c91ae2bb3df9d7bef279d8f400e0c8ddde0b5e [diff] |
[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: Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>