Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git] / arch / x86 / include / asm / spinlock_types.h
1 #ifndef _ASM_X86_SPINLOCK_TYPES_H
2 #define _ASM_X86_SPINLOCK_TYPES_H
3
4 #ifndef __LINUX_SPINLOCK_TYPES_H
5 # error "please don't include this file directly"
6 #endif
7
8 typedef struct arch_spinlock {
9         unsigned int slock;
10 } arch_spinlock_t;
11
12 #define __ARCH_SPIN_LOCK_UNLOCKED       { 0 }
13
14 #include <asm/rwlock.h>
15
16 #endif /* _ASM_X86_SPINLOCK_TYPES_H */