1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_QSPINLOCK_H
3 #define _ASM_QSPINLOCK_H
5 #include <asm-generic/qspinlock_types.h>
7 #define queued_spin_unlock queued_spin_unlock
9 static inline void queued_spin_unlock(struct qspinlock *lock)
11 compiletime_assert_atomic_type(lock->locked);
13 WRITE_ONCE(lock->locked, 0);
16 #include <asm-generic/qspinlock.h>
18 #endif /* _ASM_QSPINLOCK_H */