summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/spinlock.h
blob: 49a7bcef4cc3bcf44172e74822f82c40454149f0 (plain)
1
2
3
4
5
6
7
8
9
10
/*	$OpenBSD: spinlock.h,v 1.3 2017/09/05 02:40:54 guenther Exp $	*/

#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_

#define _ATOMIC_LOCK_UNLOCKED	(0)
#define _ATOMIC_LOCK_LOCKED	(1)
typedef int _atomic_lock_t;

#endif