summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include/spinlock.h
blob: 613d06300df663438025457bc541c840a7708186 (plain)
1
2
3
4
5
6
7
8
9
10
/*	$OpenBSD: spinlock.h,v 1.2 2011/11/14 14:29:57 deraadt Exp $	*/

#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_

#define _SPINLOCK_UNLOCKED	(1)
#define _SPINLOCK_LOCKED	(0)
typedef long _spinlock_lock_t __attribute__((__aligned__(16)));

#endif