Subversion Repositories Kolibri OS

Rev

Rev 6102 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _ASM_X86_SPINLOCK_TYPES_H
  2. #define _ASM_X86_SPINLOCK_TYPES_H
  3.  
  4. #include <linux/types.h>
  5.  
  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 */
  23.