Re: [patch] implement ia64 specific mutex primitives

From: Keith Owens <>
Date: 2006-01-12 11:14:26
"Chen, Kenneth W" (on Wed, 11 Jan 2006 15:24:50 -0800) wrote:
>Implement ia64 optimized mutex primitives.  It properly uses 
>acquire/release memory ordering semantics in lock/unlock path.
>#define __mutex_fastpath_lock(count, fail_fn)				\
>static inline int
>__mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
>#define __mutex_fastpath_unlock(count, fail_fn)				\
>static inline int
>__mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *))

Instead of mixing #define and static, make them all static and let gcc
decide if you should inline them.  Or make them all #define.  Either
works but is more consistent.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Jan 12 11:15:02 2006

This archive was generated by hypermail 2.1.8 : 2006-01-12 11:15:11 EST