Changeset 625 for GPL/branches/uniaud32-next/include/linux/mutex.h
- Timestamp:
- Jan 3, 2021, 7:20:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/mutex.h
r615 r625 3 3 4 4 #include <asm/semaphore.h> 5 #include <linux/list.h> 6 7 struct mutex { 8 atomic_long_t owner; 9 spinlock_t wait_lock; 10 #ifdef CONFIG_MUTEX_SPIN_ON_OWNER 11 struct optimistic_spin_queue osq; /* Spinner MCS lock */ 12 #endif 13 struct list_head wait_list; 14 #ifdef CONFIG_DEBUG_MUTEXES 15 void *magic; 16 #endif 17 #ifdef CONFIG_DEBUG_LOCK_ALLOC 18 struct lockdep_map dep_map; 19 #endif 20 }; 5 21 6 22 #define mutex semaphore
Note:
See TracChangeset
for help on using the changeset viewer.