Go to the documentation of this file.
21 #ifndef _ASM_SPINLOCK_TYPES_H
22 #define _ASM_SPINLOCK_TYPES_H
24 #ifndef __LINUX_SPINLOCK_TYPES_H
25 # error "please don't include this file directly"
29 volatile unsigned int lock;
32 #define __ARCH_SPIN_LOCK_UNLOCKED { 0 }
35 volatile unsigned int lock;
38 #define __ARCH_RW_LOCK_UNLOCKED { 0 }