kernel-ark/arch/sparc
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
lib [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
math-emu kbuild: use relative path to -I 2006-04-04 16:56:10 +02:00
mm [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
prom [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
defconfig [SPARC32]: Revert IOMAP change eb98129eec 2005-10-10 21:02:26 -07:00
Kconfig [PATCH] bitops: sparc: use generic bitops 2006-03-26 08:57:14 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [SPARC]: block/ needed in final image link 2005-12-12 14:42:44 -08:00