aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_wildfire.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-08 14:32:15 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-08 12:32:35 -0700
commit7a39f52202a70ff6834e37053e2ee55c7d351621 (patch)
treede2f029495110336d2dd2b89205db2c62710dd50 /arch/alpha/kernel/sys_wildfire.c
parent[PATCH] sparc64 pt_regs fixes (diff)
downloadlinux-dev-7a39f52202a70ff6834e37053e2ee55c7d351621.tar.xz
linux-dev-7a39f52202a70ff6834e37053e2ee55c7d351621.zip
[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>
Diffstat (limited to 'arch/alpha/kernel/sys_wildfire.c')
0 files changed, 0 insertions, 0 deletions