mutex.h 411 B

1234567891011121314151617
  1. /*
  2. * arch/arm/include/asm/mutex.h
  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
  10. /*
  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.
  14. */
  15. #include <asm-generic/mutex-xchg.h>
  16. #endif