2.6.3 _raw_write_trylock and __down_write_trylock

From: Keith Owens <kaos_at_sgi.com>
Date: 2004-02-23 12:15:57
2.6.3 defines include/asm-ia64/spinlock.h::_raw_write_trylock (both asm
and C versions) and include/asm-ia64/rwsem.h::__down_write_trylock.

The C version of _raw_write_trylock is functionally identical to
__down_write_trylock, but the code is completely different.  Why have
two implementations with such radically different code for the same
feature?  Why have both a C and asm version of _raw_write_trylock when
the C version will work everywhere?

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Feb 22 20:16:25 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST