xref: /kvm-unit-tests/lib/arm64/asm/spinlock.h (revision da49e2919f6b7e14af756e781105acaabd30f7ca)
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