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> |
||
---|---|---|
.. | ||
apc.c | ||
asm-offsets.c | ||
auxio.c | ||
cpu.c | ||
devices.c | ||
ebus.c | ||
entry.S | ||
errtbls.c | ||
etrap.S | ||
head.S | ||
idprom.c | ||
init_task.c | ||
ioport.c | ||
irq.c | ||
led.c | ||
Makefile | ||
module.c | ||
muldiv.c | ||
of_device.c | ||
pcic.c | ||
pmc.c | ||
process.c | ||
prom.c | ||
ptrace.c | ||
rtrap.S | ||
sclow.S | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
sparc-stub.c | ||
sparc_ksyms.c | ||
sun4c_irq.c | ||
sun4d_irq.c | ||
sun4d_smp.c | ||
sun4m_irq.c | ||
sun4m_smp.c | ||
sun4setup.c | ||
sunos_asm.S | ||
sunos_ioctl.c | ||
sys_solaris.c | ||
sys_sparc.c | ||
sys_sunos.c | ||
systbls.S | ||
tadpole.c | ||
tick14.c | ||
time.c | ||
trampoline.S | ||
traps.c | ||
unaligned.c | ||
vmlinux.lds.S | ||
windows.c | ||
wof.S | ||
wuf.S |