Changeset 2d93f1f9 in mainline for generic/include
- Timestamp:
- 2005-12-06T21:58:18Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a80d406
- Parents:
- 36e7b6c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/synch/spinlock.h
r36e7b6c3 r2d93f1f9 36 36 #ifdef CONFIG_SMP 37 37 struct spinlock { 38 #ifdef CONFIG_DEBUG_SPINLOCK 39 char *name; 40 #endif 38 41 int val; 39 42 }; 40 43 41 extern void spinlock_initialize(spinlock_t *sl );44 extern void spinlock_initialize(spinlock_t *sl, char *name); 42 45 extern void spinlock_lock(spinlock_t *sl); 43 46 extern int spinlock_trylock(spinlock_t *sl);
Note:
See TracChangeset
for help on using the changeset viewer.