2006-01-09 16:59:19 -07: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 07:47:36 -07:00
|
|
|
|
|
|
|
#define arch_mutex_cpu_relax() barrier()
|