diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 03:38:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 03:38:51 +0000 |
commit | d673d66bf73bd6d731ee0d975d1def3dafe8b8d2 (patch) | |
tree | b0509657ffd30c6931a27f168f9ba875206076ca /sys/arch/hppa/include/lock.h | |
parent | ef76f436407d7a730766f3dcbf3c8c25b0369a45 (diff) |
Include atomic.h via lock.h like other architectures do.
ok kettenis@
Diffstat (limited to 'sys/arch/hppa/include/lock.h')
-rw-r--r-- | sys/arch/hppa/include/lock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/lock.h b/sys/arch/hppa/include/lock.h index 9df47129a62..5120425631a 100644 --- a/sys/arch/hppa/include/lock.h +++ b/sys/arch/hppa/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/07/01 03:38:50 jsing Exp $ */ /* public domain */ #ifndef _HPPA_LOCK_H_ #define _HPPA_LOCK_H_ +#include <machine/atomic.h> + typedef volatile u_int __cpu_simple_lock_t __attribute__((__aligned__(16))); #define __SIMPLELOCK_LOCKED 0 |