diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/m68k/include/lock.h | 4 | ||||
-rw-r--r-- | sys/arch/sh/include/lock.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/m68k/include/lock.h b/sys/arch/m68k/include/lock.h index 475236a26d4..2e7e04dce73 100644 --- a/sys/arch/m68k/include/lock.h +++ b/sys/arch/m68k/include/lock.h @@ -1,10 +1,12 @@ -/* $OpenBSD: lock.h,v 1.1 2007/05/01 18:56:30 miod Exp $ */ +/* $OpenBSD: lock.h,v 1.2 2010/04/26 05:48:19 deraadt Exp $ */ /* public domain */ #ifndef _M68K_LOCK_H_ #define _M68K_LOCK_H_ +#include <machine/atomic.h> + typedef volatile u_int __cpu_simple_lock_t; #define __SIMPLELOCK_LOCKED 1 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 |