diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-10 20:00:15 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-10 20:00:15 +0000 |
commit | cf0a3aafd4f3d1aebfa8491b8f0ba507c8baa802 (patch) | |
tree | 11bb9eaa68a8c3e3c09598bca2a9222981973214 /sys/arch/sparc64/include/spinlock.h | |
parent | 37e8cc1621c3eff734b8d369f2f1a1aa0a2147d6 (diff) |
Enough for libc_r on sparc64 to build (this stuff is mostly taken from sparc,
and will need attention before it can be expected to work).
Diffstat (limited to 'sys/arch/sparc64/include/spinlock.h')
-rw-r--r-- | sys/arch/sparc64/include/spinlock.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/sparc64/include/spinlock.h b/sys/arch/sparc64/include/spinlock.h new file mode 100644 index 00000000000..e237ff88803 --- /dev/null +++ b/sys/arch/sparc64/include/spinlock.h @@ -0,0 +1,10 @@ +/* $OpenBSD: spinlock.h,v 1.1 2001/09/10 20:00:14 jason Exp $ */ + +#ifndef _MACHINE_SPINLOCK_H_ +#define _MACHINE_SPINLOCK_H_ + +#define _SPINLOCK_UNLOCKED (0x00) +#define _SPINLOCK_LOCKED (0xFF) +typedef unsigned char _spinlock_lock_t; + +#endif |