]>
Commit | Line | Data |
---|---|---|
823d0f4f | 1 | /* |
4baa9922 | 2 | * arch/arm/include/asm/mutex.h |
823d0f4f NP |
3 | * |
4 | * ARM optimized mutex locking primitives | |
5 | * | |
6 | * Please look into asm-generic/mutex-xchg.h for a formal definition. | |
7 | */ | |
8 | #ifndef _ASM_MUTEX_H | |
9 | #define _ASM_MUTEX_H | |
823d0f4f | 10 | /* |
a76d7bd9 WD |
11 | * On pre-ARMv6 hardware this results in a swp-based implementation, |
12 | * which is the most efficient. For ARMv6+, we emit a pair of exclusive | |
13 | * accesses instead. | |
823d0f4f | 14 | */ |
a76d7bd9 | 15 | #include <asm-generic/mutex-xchg.h> |
823d0f4f | 16 | #endif |