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