mutex.h 354 B

123456789101112131415
  1. #ifdef CONFIG_X86_32
  2. # include <asm/mutex_32.h>
  3. #else
  4. # include <asm/mutex_64.h>
  5. #endif
  6. #ifndef __ASM_MUTEX_H
  7. #define __ASM_MUTEX_H
  8. /*
  9. * For the x86 architecture, it allows any negative number (besides -1) in
  10. * the mutex count to indicate that some other threads are waiting on the
  11. * mutex.
  12. */
  13. #define __ARCH_ALLOW_ANY_NEGATIVE_MUTEX_COUNT 1
  14. #endif