summaryrefslogtreecommitdiff
path: root/sys/arch/sh/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-26 05:48:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-26 05:48:20 +0000
commit36e448944b0b2563eedabe7250a2155262915c8d (patch)
tree7aad0603dde8309761d3ab1f0e1a1a311ade474a /sys/arch/sh/include
parentc108a8fdc871c4428549ee6862f22b56f2eddc21 (diff)
cut down simple locks (so simple that they don't even lock) to the point
where there is almost nothing left to them, so that we can continue getting rid of them ok oga
Diffstat (limited to 'sys/arch/sh/include')
-rw-r--r--sys/arch/sh/include/lock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sh/include/lock.h b/sys/arch/sh/include/lock.h
index 10d433c8e8e..e228fabc292 100644
--- a/sys/arch/sh/include/lock.h
+++ b/sys/arch/sh/include/lock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.h,v 1.2 2008/06/26 05:42:12 ray Exp $ */
+/* $OpenBSD: lock.h,v 1.3 2010/04/26 05:48:19 deraadt Exp $ */
/* $NetBSD: lock.h,v 1.10 2006/01/03 01:29:46 uwe Exp $ */
/*-
@@ -37,6 +37,8 @@
#ifndef _SH_LOCK_H_
#define _SH_LOCK_H_
+#include <sh/atomic.h>
+
typedef volatile u_int8_t __cpu_simple_lock_t;
#define __SIMPLELOCK_LOCKED 0x80