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/intr.h | 4 +--- sys/arch/hppa/include/lock.h | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/hppa/include') diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h index aa7ab3b13fd..bb53e635bc8 100644 --- a/sys/arch/hppa/include/intr.h +++ b/sys/arch/hppa/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.32 2010/06/08 12:33:30 jsing Exp $ */ +/* $OpenBSD: intr.h,v 1.33 2010/07/01 03:38:50 jsing Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -63,8 +63,6 @@ #if !defined(_LOCORE) && defined(_KERNEL) -#include - extern volatile u_long imask[NIPL]; #ifdef DIAGNOSTIC 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