summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc64/include/spinlock.h
blob: e1eb60c25d7812226f72eccca3a9de730ca843b2 (plain) (blame)
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	(0x00)
#define _ATOMIC_LOCK_LOCKED	(0xFF)
typedef unsigned char _atomic_lock_t;

#endif