Changeset ffe4a87 in mainline for kernel/generic/include/synch/spinlock.h
- Timestamp:
- 2010-05-25T22:15:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e805e2f
- Parents:
- d7da4284
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/spinlock.h
rd7da4284 rffe4a87 115 115 extern void spinlock_lock_debug(spinlock_t *); 116 116 extern void spinlock_unlock_debug(spinlock_t *); 117 extern bool spinlock_locked(spinlock_t *); 118 extern bool spinlock_unlocked(spinlock_t *); 117 119 118 120 /** Unlock spinlock … … 177 179 #define spinlock_trylock(lock) (preemption_disable(), 1) 178 180 #define spinlock_unlock(lock) preemption_enable() 181 #define spinlock_locked(lock) 1 182 #define spinlock_unlocked(lock) 1 179 183 180 184 #define DEADLOCK_PROBE_INIT(pname) … … 283 287 extern void irq_spinlock_pass(irq_spinlock_t *, irq_spinlock_t *); 284 288 extern void irq_spinlock_exchange(irq_spinlock_t *, irq_spinlock_t *); 289 extern bool irq_spinlock_locked(irq_spinlock_t *); 290 extern bool irq_spinlock_unlocked(irq_spinlock_t *); 285 291 286 292 #endif
Note:
See TracChangeset
for help on using the changeset viewer.