xref: /openbsd-src/sys/arch/mips64/include/spinlock.h (revision a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c)
1*a5511fa9Sguenther /*	$OpenBSD: spinlock.h,v 1.5 2017/09/05 02:40:54 guenther Exp $	*/
2f6c5bd83Spefo  /* Public domain */
3f58c7388Spefo 
42fa72412Spirofti #ifndef _MIPS64_SPINLOCK_H_
52fa72412Spirofti #define _MIPS64_SPINLOCK_H_
6f58c7388Spefo 
77ff8e670Stedu #define _ATOMIC_LOCK_UNLOCKED	(0)
87ff8e670Stedu #define _ATOMIC_LOCK_LOCKED	(1)
97ff8e670Stedu typedef int _atomic_lock_t;
107ff8e670Stedu 
112fa72412Spirofti #endif /* !_MIPS64_SPINLOCK_H_ */
12