diff options
author | Dave Johnson <djohnson+linux-mips@sw.starentnetworks.com> | 2007-03-05 20:50:27 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-06 19:07:17 -0500 |
commit | d52c2d5a626a2cb1848fa7063b3ab79e2752dac7 (patch) | |
tree | de525a4b04f3710d965a662f26d402e872a21247 /block | |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions