xref: /kvm-unit-tests/lib/arm64/asm/spinlock.h (revision 573687f8ae790b2e434330aef68c53abfe45e86a)
1 #ifndef _ASMARM64_SPINLOCK_H_
2 #define _ASMARM64_SPINLOCK_H_
3 
4 struct spinlock {
5 	int v;
6 };
7 
8 extern void spin_lock(struct spinlock *lock);
9 extern void spin_unlock(struct spinlock *lock);
10 
11 #endif /* _ASMARM64_SPINLOCK_H_ */
12