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