16ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh/**************************************************************************** 26ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh **************************************************************************** 36ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** 46ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** This header was automatically generated from a Linux kernel header 56ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** of the same name, to make information necessary for userspace to 66ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** call into the kernel available to libc. It contains only constants, 76ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** structures, and macros generated from the original header, and thus, 86ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** contains no copyrightable information. 96ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** 106ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** To edit the content of this header, modify the corresponding 116ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** source file (e.g. under external/kernel-headers/original/) then 126ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** run bionic/libc/kernel/tools/update_all.py 136ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** 146ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** Any manual change here will be lost the next time this script will 156ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** be run. You've been warned! 166ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh *** 176ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh **************************************************************************** 186ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh ****************************************************************************/ 196ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#ifndef __ASM_SPINLOCK_TYPES_H 206ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#define __ASM_SPINLOCK_TYPES_H 216ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#ifndef __LINUX_SPINLOCK_TYPES_H 226ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#error "please don't include this file directly" 236ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 246ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#endif 256ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsiehtypedef struct { 266ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh unsigned int slock; 276ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh} raw_spinlock_t; 286ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 296ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#define __RAW_SPIN_LOCK_UNLOCKED { 1 } 306ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsiehtypedef struct { 316ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh unsigned int lock; 326ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh} raw_rwlock_t; 336ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 346ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } 356ecc1bfab1621eaf5a17f82020a26468c537cdeaAndrew Hsieh#endif 36