summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/lock.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-21 03:03:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-21 03:03:27 +0000
commitca48e4ece50b04c33f4709c41bf96a35905d1f6b (patch)
tree0bad76df874a74978118183a2528059491d02744 /sys/arch/sparc/include/lock.h
parent9497af87f5b565b6e916fe63f0f1813de69367ec (diff)
more cleanup to cope with the change that tries to make proc.h not act
like it is everything.h ok tedu
Diffstat (limited to 'sys/arch/sparc/include/lock.h')
-rw-r--r--sys/arch/sparc/include/lock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/lock.h b/sys/arch/sparc/include/lock.h
index e9fa9224a53..88b50a751d4 100644
--- a/sys/arch/sparc/include/lock.h
+++ b/sys/arch/sparc/include/lock.h
@@ -1,10 +1,12 @@
-/* $OpenBSD: lock.h,v 1.1 2007/05/01 18:56:31 miod Exp $ */
+/* $OpenBSD: lock.h,v 1.2 2010/04/21 03:03:24 deraadt Exp $ */
/* public domain */
#ifndef _SPARC_LOCK_H_
#define _SPARC_LOCK_H_
+#include <machine/atomic.h>
+
typedef volatile u_int8_t __cpu_simple_lock_t;
#define __SIMPLELOCK_LOCKED 0xff