xref: /linux/tools/testing/selftests/kvm/include/aarch64/spinlock.h (revision 34f7c6e7d4396090692a09789db231e12cb4762b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef SELFTEST_KVM_ARM64_SPINLOCK_H
4 #define SELFTEST_KVM_ARM64_SPINLOCK_H
5 
6 struct spinlock {
7 	int v;
8 };
9 
10 extern void spin_lock(struct spinlock *lock);
11 extern void spin_unlock(struct spinlock *lock);
12 
13 #endif /* SELFTEST_KVM_ARM64_SPINLOCK_H */
14