aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mutex.h
blob: b1479fd04a951f1d82d55f77fd01cb9f0b072f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * arch/arm/include/asm/mutex.h
 *
 * ARM optimized mutex locking primitives
 *
 * Please look into asm-generic/mutex-xchg.h for a formal definition.
 */
#ifndef _ASM_MUTEX_H
#define _ASM_MUTEX_H
/*
 * On pre-ARMv6 hardware this results in a swp-based implementation,
 * which is the most efficient. For ARMv6+, we emit a pair of exclusive
 * accesses instead.
 */
#include <asm-generic/mutex-xchg.h>
#endif