Changeset d5a89a3 in mainline for kernel/generic/include/synch/spinlock.h
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/spinlock.h
re3272101 rd5a89a3 103 103 * @param lock Pointer to spinlock_t structure. 104 104 */ 105 NO_TRACE static inline void spinlock_lock(spinlock_t *lock)105 _NO_TRACE static inline void spinlock_lock(spinlock_t *lock) 106 106 { 107 107 preemption_disable(); … … 115 115 * @param lock Pointer to spinlock_t structure. 116 116 */ 117 NO_TRACE static inline void spinlock_unlock(spinlock_t *lock)117 _NO_TRACE static inline void spinlock_unlock(spinlock_t *lock) 118 118 { 119 119 atomic_flag_clear_explicit(&lock->flag, memory_order_release);
Note:
See TracChangeset
for help on using the changeset viewer.