/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_GENERIC_QRWLOCK_TYPES_H #define __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, \ } #endif /* __ASM_GENERIC_QRWLOCK_TYPES_H */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Waiman Long | 31 | 91.18% | 1 | 33.33% |
Davidlohr Bueso A | 2 | 5.88% | 1 | 33.33% |
Greg Kroah-Hartman | 1 | 2.94% | 1 | 33.33% |
Total | 34 | 100.00% | 3 | 100.00% |