Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SPINLOCK_TYPES_H
     13 #define __ASM_SPINLOCK_TYPES_H
     14 
     15 #ifndef __LINUX_SPINLOCK_TYPES_H
     16 #error "please don't include this file directly"
     17 #endif
     18 
     19 typedef struct {
     20  volatile unsigned int lock;
     21 } raw_spinlock_t;
     22 
     23 #define __RAW_SPIN_LOCK_UNLOCKED { 0 }
     24 
     25 typedef struct {
     26  volatile unsigned int lock;
     27 } raw_rwlock_t;
     28 
     29 #define __RAW_RW_LOCK_UNLOCKED { 0 }
     30 
     31 #endif
     32