]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/kernel/arch-arm/asm/spinlock_types.h
Initial Contribution
[android-sdk/platform-bionic.git] / libc / kernel / arch-arm / asm / spinlock_types.h
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
15 #ifndef __LINUX_SPINLOCK_TYPES_H
16 #error "please don't include this file directly"
17 #endif
19 typedef struct {
20  volatile unsigned int lock;
21 } raw_spinlock_t;
23 #define __RAW_SPIN_LOCK_UNLOCKED { 0 }
25 typedef struct {
26  volatile unsigned int lock;
27 } raw_rwlock_t;
29 #define __RAW_RW_LOCK_UNLOCKED { 0 }
31 #endif