Parent Directory
|
Revision Log
|
Patch
| revision 1.2 by bellard, Mon Oct 27 21:24:54 2003 UTC | revision 1.3 by bellard, Thu Oct 30 01:08:17 2003 UTC | |
|---|---|---|
| # | Line 384 typedef int spinlock_t; | Line 384 typedef int spinlock_t; |
| 384 | ||
| 385 | #define SPIN_LOCK_UNLOCKED 0 | #define SPIN_LOCK_UNLOCKED 0 |
| 386 | ||
| 387 | #if 1 | #if defined(CONFIG_USER_ONLY) |
| 388 | static inline void spin_lock(spinlock_t *lock) | static inline void spin_lock(spinlock_t *lock) |
| 389 | { | { |
| 390 | while (testandset(lock)); | while (testandset(lock)); |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |