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

#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_

#define _ATOMIC_LOCK_UNLOCKED	(1)
#define _ATOMIC_LOCK_LOCKED	(0)
typedef long _atomic_lock_t __attribute__((__aligned__(16)));

#endif