xref: /linux/tools/testing/selftests/kvm/include/aarch64/spinlock.h (revision 881f1bb5e25c8982ed963b2d319fc0fc732e55db)
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