xref: /linux/tools/testing/selftests/kvm/include/arm64/spinlock.h (revision 5e024582f494c6ff5eb2bec5183fd1eb35462500)
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