Changeset e71a61d in mainline for kernel/generic/include/synch/spinlock.h
- Timestamp:
- 2007-01-22T14:45:07Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51baa8a
- Parents:
- 726e1043
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/spinlock.h
r726e1043 re71a61d 43 43 44 44 #ifdef CONFIG_SMP 45 struct spinlock{45 typedef struct { 46 46 #ifdef CONFIG_DEBUG_SPINLOCK 47 47 char *name; 48 48 #endif 49 49 atomic_t val; 50 } ;50 } spinlock_t; 51 51 52 52 /* … … 104 104 #else 105 105 106 typedef void spinlock_t; 107 106 108 /* On UP systems, spinlocks are effectively left out. */ 107 109 #define SPINLOCK_DECLARE(name)
Note:
See TracChangeset
for help on using the changeset viewer.