|
|
| File: [Development] / linux-2.6-xfs / include / asm-x86_64 / Attic / spinlock_types.h (download)
Revision 1.1, Fri Oct 28 16:02:11 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.14 Merge of 2.6.x-xfs-melb:linux:24258a by kenmcd. |
#ifndef __ASM_SPINLOCK_TYPES_H
#define __ASM_SPINLOCK_TYPES_H
#ifndef __LINUX_SPINLOCK_TYPES_H
# error "please don't include this file directly"
#endif
typedef struct {
volatile unsigned int slock;
} raw_spinlock_t;
#define __RAW_SPIN_LOCK_UNLOCKED { 1 }
typedef struct {
volatile unsigned int lock;
} raw_rwlock_t;
#define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
#endif