/drivers/include/linux/rwsem.h |
---|
25,8 → 25,8 |
#else |
/* All arch specific implementations share the same struct */ |
struct rw_semaphore { |
struct list_head wait_list; |
long count; |
struct list_head wait_list; |
raw_spinlock_t wait_lock; |
#ifdef CONFIG_RWSEM_SPIN_ON_OWNER |
struct optimistic_spin_queue osq; /* spinner MCS lock */ |