xref: /openbsd-src/sys/arch/riscv64/include/spinlock.h (revision 380aa7b954a72929ea2dfc25667cbe65c83c5326)
1 /*	$OpenBSD: spinlock.h,v 1.2 2021/05/12 01:20:52 jsg Exp $	*/
2 
3 #ifndef _MACHINE_SPINLOCK_H_
4 #define _MACHINE_SPINLOCK_H_
5 
6 #define _ATOMIC_LOCK_UNLOCKED	(0)
7 #define _ATOMIC_LOCK_LOCKED	(1)
8 typedef int _atomic_lock_t;
9 
10 #endif
11