[IA64] Define an ia64 version of __raw_read_trylock
authorKeith Owens <kaos@sgi.com>
Sat, 10 Dec 2005 03:24:28 +0000 (14:24 +1100)
committerTony Luck <tony.luck@intel.com>
Mon, 12 Dec 2005 16:54:18 +0000 (08:54 -0800)
commitbf7ececa9b68f4720f1ce344f442435660bcdae7
tree7caff55f6ce8cfee2547ad0c93ad893c8f9583cb
parentf64fa6772aa874e5cad02a9d87e6b0d99ced3d48
[IA64] Define an ia64 version of __raw_read_trylock

IA64 is using the generic version of __raw_read_trylock, which always
waits for the lock to be free instead of returning when the lock is in
use.  Define an ia64 version of __raw_read_trylock which behaves
correctly, and drop the generic one.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/spinlock.h