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