Changeset 95c675b in mainline for kernel/generic/include/synch/spinlock.h
- Timestamp:
- 2017-10-17T13:11:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (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
rdbf32b1 r95c675b 36 36 #define KERN_SPINLOCK_H_ 37 37 38 #include < typedefs.h>38 #include <stdbool.h> 39 39 #include <arch/barrier.h> 40 #include <assert.h> 40 41 #include <preemption.h> 41 42 #include <atomic.h> 42 #include <debug.h>43 43 #include <arch/asm.h> 44 44 … … 80 80 81 81 #define ASSERT_SPINLOCK(expr, lock) \ 82 ASSERT_VERBOSE(expr, (lock)->name)82 assert_verbose(expr, (lock)->name) 83 83 84 84 #define spinlock_lock(lock) spinlock_lock_debug((lock)) … … 98 98 99 99 #define ASSERT_SPINLOCK(expr, lock) \ 100 ASSERT(expr)100 assert(expr) 101 101 102 102 #define spinlock_lock(lock) atomic_lock_arch(&(lock)->val) … … 175 175 #define SPINLOCK_STATIC_INITIALIZE_NAME(name, desc_name) 176 176 177 #define ASSERT_SPINLOCK(expr, lock) ASSERT(expr)177 #define ASSERT_SPINLOCK(expr, lock) assert(expr) 178 178 179 179 #define spinlock_initialize(lock, name)
Note:
See TracChangeset
for help on using the changeset viewer.