diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 04:20:39 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 04:20:39 +0000 |
commit | a31a23215e6ad209869d4c9abbd85092729853c0 (patch) | |
tree | 795b287cf7996b8ae0490a5d3ad3e8f626380a4c /sys | |
parent | 52a70e408711048f6c8c24d0833d1b5928d6688f (diff) |
Pull in atomic.h and intr.h.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa64/include/lock.h | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/include/param.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa64/include/lock.h b/sys/arch/hppa64/include/lock.h index fcf9a2e6822..a6d910c01dc 100644 --- a/sys/arch/hppa64/include/lock.h +++ b/sys/arch/hppa64/include/lock.h @@ -1,10 +1,12 @@ -/* $OpenBSD: lock.h,v 1.1 2007/10/06 15:07:41 kettenis Exp $ */ +/* $OpenBSD: lock.h,v 1.2 2010/07/01 04:20:38 jsing Exp $ */ /* public domain */ #ifndef _HPPA64_LOCK_H_ #define _HPPA64_LOCK_H_ +#include <machine/atomic.h> + typedef volatile u_int __cpu_simple_lock_t __attribute__((__aligned__(16))); #define __SIMPLELOCK_LOCKED 0 diff --git a/sys/arch/hppa64/include/param.h b/sys/arch/hppa64/include/param.h index 3c1a9a2d9a5..78ab4ca3810 100644 --- a/sys/arch/hppa64/include/param.h +++ b/sys/arch/hppa64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.11 2008/04/27 17:48:10 martin Exp $ */ +/* $OpenBSD: param.h,v 1.12 2010/07/01 04:20:38 jsing Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -24,6 +24,7 @@ */ #include <machine/cpu.h> +#include <machine/intr.h> /* * Machine dependent constants for PA-RISC. |