2006-01-09 23:59:19 +00:00
|
|
|
/*
|
|
|
|
* Pull in the generic implementation for the mutex fastpath.
|
|
|
|
*
|
|
|
|
* TODO: implement optimized primitives instead, or leave the generic
|
|
|
|
* implementation in place, or pick the atomic_xchg() based generic
|
|
|
|
* implementation. (see asm-generic/mutex-xchg.h for details)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm-generic/mutex-dec.h>
|
2010-11-22 14:47:36 +00:00
|
|
|
|
|
|
|
#define arch_mutex_cpu_relax() barrier()
|