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