2006-01-10 07:59:19 +08: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)
|
|
|
|
*/
|
2008-11-25 20:37:14 +08:00
|
|
|
#if defined(CONFIG_CPU_SH4A)
|
|
|
|
#include <asm/mutex-llsc.h>
|
|
|
|
#else
|
2006-01-10 07:59:19 +08:00
|
|
|
#include <asm-generic/mutex-dec.h>
|
2008-11-25 20:37:14 +08:00
|
|
|
#endif
|