e2aee82736646480e9cbbe2e9e3cbbefae87a51e
[deliverable/linux.git] / arch / x86 / include / asm / qspinlock.h
1 #ifndef _ASM_X86_QSPINLOCK_H
2 #define _ASM_X86_QSPINLOCK_H
3
4 #include <asm-generic/qspinlock_types.h>
5
6 #define queued_spin_unlock queued_spin_unlock
7 /**
8 * queued_spin_unlock - release a queued spinlock
9 * @lock : Pointer to queued spinlock structure
10 *
11 * A smp_store_release() on the least-significant byte.
12 */
13 static inline void queued_spin_unlock(struct qspinlock *lock)
14 {
15 smp_store_release((u8 *)lock, 0);
16 }
17
18 #include <asm-generic/qspinlock.h>
19
20 #endif /* _ASM_X86_QSPINLOCK_H */
This page took 0.032954 seconds and 4 git commands to generate.