Changes in kernel/generic/src/synch/spinlock.c [13108f24:2b4a9f26] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
r13108f24 r2b4a9f26 128 128 void spinlock_unlock_debug(spinlock_t *lock) 129 129 { 130 ASSERT (atomic_get(&lock->val) != 0);130 ASSERT_SPINLOCK(atomic_get(&lock->val) != 0, lock); 131 131 132 132 /* … … 143 143 /** Lock spinlock conditionally 144 144 * 145 * Lock spinlock conditionally. 146 * If the spinlock is not available at the moment, 147 * signal failure. 145 * Lock spinlock conditionally. If the spinlock is not available 146 * at the moment, signal failure. 148 147 * 149 148 * @param lock Pointer to spinlock_t structure.
Note:
See TracChangeset
for help on using the changeset viewer.