Subversion Repositories Kolibri OS

Rev

Rev 5270 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5270 serge 1
#ifndef _ASM_X86_SPINLOCK_TYPES_H
2
#define _ASM_X86_SPINLOCK_TYPES_H
3
 
6102 serge 4
#include 
5
 
5270 serge 6
#ifndef __LINUX_SPINLOCK_TYPES_H
7
# error "please don't include this file directly"
8
#endif
9
 
10
typedef struct raw_spinlock {
11
	unsigned int slock;
12
} raw_spinlock_t;
13
 
14
#define __RAW_SPIN_LOCK_UNLOCKED	{ 0 }
15
 
16
typedef struct {
17
	unsigned int lock;
18
} raw_rwlock_t;
19
 
20
#define __RAW_RW_LOCK_UNLOCKED		{ RW_LOCK_BIAS }
21
 
22
#endif /* _ASM_X86_SPINLOCK_TYPES_H */