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