]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: Add _raw_write_trylock
authorPaul Mackerras <paulus@samba.org>
Thu, 3 Jun 2004 01:21:15 +0000 (18:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:21:15 +0000 (18:21 -0700)
commitd2b8378d0b3435deeec3ed671e1733bae547fb28
tree716cad4de8ce9da3ea5f736fa3914fb0e85d5716
parent0ad8699acd245b2a69adf6798dfc58236602a41b
[PATCH] ppc32: Add _raw_write_trylock

I tried compiling a PPC32 kernel with PREEMPT + SMP and it failed
because we didn't have a _raw_write_trylock.  This patch adds
_raw_write_trylock, moves the exports of _raw_*lock from
arch/ppc/kernel/ppc_ksyms.c to arch/ppc/lib/locks.c, and makes
__spin_trylock static since it is only used in locks.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/lib/locks.c
include/asm-ppc/spinlock.h