xref: /openbsd-src/sys/arch/powerpc/include/spinlock.h (revision a5511fa9f431600dbd6dc2b46fc4e6b73e7d239c)
1*a5511fa9Sguenther /*	$OpenBSD: spinlock.h,v 1.4 2017/09/05 02:40:54 guenther Exp $	*/
23c0f6b5fSd 
352c13d20Sdrahn #ifndef _POWERPC_SPINLOCK_H_
452c13d20Sdrahn #define _POWERPC_SPINLOCK_H_
53c0f6b5fSd 
67ff8e670Stedu #define _ATOMIC_LOCK_UNLOCKED	(0)
77ff8e670Stedu #define _ATOMIC_LOCK_LOCKED	(1)
87ff8e670Stedu typedef int _atomic_lock_t;
97ff8e670Stedu 
103c0f6b5fSd #endif
11