# | Line 284 | Line 284 | static inline int testandset(int *p) | |
---|---|---|
284 | #define HAVE_SPINLOCKS 1 | |
285 | typedef int spinlock_t; | |
286 | ||
287 | < | const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
287 | > | static const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
288 | ||
289 | static inline void spin_lock(spinlock_t *lock) | |
290 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |