mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 23:18:20 +00:00
7a39f52202
read_trylock() is broken on sparc32 (doesn't build and didn't work right, actually). Proposed fix: - make "writer holds lock" distinguishable from "reader tries to grab lock" - have __raw_read_trylock() try to acquire the mutex (in LSB of lock), terminating spin if we see that there's writer holding it. Then do the rest as we do in read_lock(). Thanks to Ingo for discussion... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
ashldi3.S | ||
ashrdi3.S | ||
atomic32.c | ||
atomic.S | ||
bitext.c | ||
bitops.S | ||
blockops.S | ||
checksum.S | ||
copy_user.S | ||
COPYING.LIB | ||
divdi3.S | ||
iomap.c | ||
locks.S | ||
lshrdi3.S | ||
Makefile | ||
memcmp.S | ||
memcpy.S | ||
memscan.S | ||
memset.S | ||
mul.S | ||
muldi3.S | ||
rem.S | ||
rwsem.S | ||
sdiv.S | ||
strlen_user.S | ||
strlen.S | ||
strncmp.S | ||
strncpy_from_user.S | ||
udiv.S | ||
udivdi3.S | ||
umul.S | ||
urem.S |