Go to the documentation of this file.
16 #ifndef __ASM_SPINLOCK_TYPES_H
17 #define __ASM_SPINLOCK_TYPES_H
19 #if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)
20 # error "please don't include this file directly"
24 #define __lock_aligned
27 volatile unsigned int lock;
30 #define __ARCH_SPIN_LOCK_UNLOCKED { 0 }
33 volatile unsigned int lock;
36 #define __ARCH_RW_LOCK_UNLOCKED { 0 }