cregit-Linux how code gets into the kernel

Release 4.12 include/asm-generic/qrwlock_types.h



#include <linux/types.h>
#include <asm/spinlock_types.h>

 * The queue read/write lock data structure

typedef struct qrwlock {
atomic_t		cnts;
arch_spinlock_t		wait_lock;

} arch_rwlock_t;

#define	__ARCH_RW_LOCK_UNLOCKED {               \
        .cnts = ATOMIC_INIT(0),                 \
        .wait_lock = __ARCH_SPIN_LOCK_UNLOCKED, \


Overall Contributors

Waiman Long3193.94%150.00%
Davidlohr Bueso A26.06%150.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.