linux-IllusionX/arch/sparc/kernel
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
..
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 [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
ioport.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
irq.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
led.c
Makefile
module.c
muldiv.c
of_device.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
pcic.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
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 [PATCH] sparc32 rwlock fix 2006-10-08 12:32:35 -07:00
sun4c_irq.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
sun4d_irq.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
sun4d_smp.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
sun4m_irq.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
sun4m_smp.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
sun4setup.c
sunos_asm.S
sunos_ioctl.c
sys_solaris.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sys_sparc.c [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
sys_sunos.c [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
systbls.S
tadpole.c
tick14.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
time.c [PATCH] sparc32 pt_regs fixes 2006-10-08 12:32:35 -07:00
trampoline.S
traps.c
unaligned.c
vmlinux.lds.S
windows.c
wof.S
wuf.S