summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-12 16:12:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-12 16:12:51 +0000
commitbec0f25af5997f51898c43eea4d4ccae30f66c6b (patch)
tree51b8af23ad886eb42cea2b8104444b29002a1401 /sys/arch
parente2b7b37db772a1e0b940aae8a807060275567824 (diff)
Explicitely include <arm/armreg.h> here instead of expecting previously
included files to bring it in.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/include/atomic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/atomic.h b/sys/arch/arm/include/atomic.h
index 3f2db652bc8..c31d91af207 100644
--- a/sys/arch/arm/include/atomic.h
+++ b/sys/arch/arm/include/atomic.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atomic.h,v 1.11 2015/06/29 04:16:32 jsg Exp $ */
+/* $OpenBSD: atomic.h,v 1.12 2015/09/12 16:12:50 miod Exp $ */
/* Public Domain */
@@ -8,6 +8,7 @@
#if defined(_KERNEL)
#include <arm/cpufunc.h>
+#include <arm/armreg.h>
/*
* on pre-v6 arm processors, it is necessary to disable interrupts if