xref: /openbsd-src/sys/arch/amd64/include/spinlock.h (revision a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c)
1*a5511fa9Sguenther /*	$OpenBSD: spinlock.h,v 1.3 2017/09/05 02:40:54 guenther Exp $	*/
2f5df1827Smickey 
3f5df1827Smickey #ifndef _MACHINE_SPINLOCK_H_
4f5df1827Smickey #define _MACHINE_SPINLOCK_H_
5f5df1827Smickey 
67ff8e670Stedu #define _ATOMIC_LOCK_UNLOCKED	(0)
77ff8e670Stedu #define _ATOMIC_LOCK_LOCKED	(1)
87ff8e670Stedu typedef int _atomic_lock_t;
97ff8e670Stedu 
10f5df1827Smickey #endif
11