From d673d66bf73bd6d731ee0d975d1def3dafe8b8d2 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Thu, 1 Jul 2010 03:38:51 +0000 Subject: Include atomic.h via lock.h like other architectures do. ok kettenis@ --- sys/arch/hppa/include/lock.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/hppa/include/lock.h') 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 + typedef volatile u_int __cpu_simple_lock_t __attribute__((__aligned__(16))); #define __SIMPLELOCK_LOCKED 0 -- cgit v1.2.3