| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | ; |
| 6 | int locked; /* 1 if lock acquired */ |
| 7 | int count; /* nesting count, see qspinlock.c */ |
| 8 | ; |
| 9 | |
| 10 | /* |
| 11 | * Architectures can define their own: |
| 12 | * |
| 13 | * arch_mcs_spin_lock_contended(l) |
| 14 | * arch_mcs_spin_unlock_contended(l) |
| 15 | * |
| 16 | * See kernel/locking/mcs_spinlock.c. |
| 17 | */ |
| 18 | |
| 19 | /* __ASM_MCS_SPINLOCK_H */ |