diff options
Diffstat (limited to 'arch/arm/include/asm/mutex.h')
-rw-r--r-- | arch/arm/include/asm/mutex.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/include/asm/mutex.h b/arch/arm/include/asm/mutex.h index 6e813d93a736..b1479fd04a95 100644 --- a/arch/arm/include/asm/mutex.h +++ b/arch/arm/include/asm/mutex.h @@ -9,13 +9,8 @@ #define _ASM_MUTEX_H /* * On pre-ARMv6 hardware this results in a swp-based implementation, - * which is the most efficient. For ARMv6+, we have exclusive memory - * accessors and use atomic_dec to avoid the extra xchg operations - * on the locking slowpaths. + * which is the most efficient. For ARMv6+, we emit a pair of exclusive + * accesses instead. */ -#if __LINUX_ARM_ARCH__ < 6 #include <asm-generic/mutex-xchg.h> -#else -#include <asm-generic/mutex-dec.h> -#endif #endif |