linux_dsm_epyc7002/arch/sparc/lib
Al Viro 7a39f52202 [PATCH] sparc32 rwlock fix
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>
2006-10-08 12:32:35 -07:00
..
ashldi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ashrdi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atomic32.c [SPARC]: atomic_clear_mask build fix 2005-12-12 14:42:31 -08:00
atomic.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
bitext.c [PATCH] m68k: thread_info header cleanup 2005-11-13 18:14:13 -08:00
bitops.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
blockops.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_user.S [SPARC]: Don't zero out tail during copy_from_user_inatomic(). 2006-09-29 16:12:41 -07:00
COPYING.LIB Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
divdi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iomap.c [SPARC]: Add iomap interfaces. 2006-06-25 23:24:24 -07:00
locks.S [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
lshrdi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [SPARC]: Add iomap interfaces. 2006-06-25 23:24:24 -07:00
memcmp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memscan.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memset.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mul.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
muldi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rem.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
rwsem.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sdiv.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
strlen_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strlen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncmp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strncpy_from_user.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
udiv.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
udivdi3.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
umul.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00
urem.S [SPARC]: Fix dot-symbol exporting for good. 2005-09-11 20:14:07 -07:00