diff options
-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. |