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