summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-03-16 06:23:04 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-03-16 06:23:04 +0000
commit7633bae884d7954f2fd4eb283cbbfd6fc01a58cf (patch)
tree81e1cab4ed8bc5358a19a02368ee84068360a6ed /sys/arch/octeon
parent900bce9fbf0e363afa46e0f581d1e16ea11182bf (diff)
Include header <sys/evcount.h> where event counters are used, so that
header <machine/intr.h> can eventually stop including it on octeon.
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/dev/octcib.c3
-rw-r--r--sys/arch/octeon/dev/octcit.c3
-rw-r--r--sys/arch/octeon/dev/octciu.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/octcib.c b/sys/arch/octeon/dev/octcib.c
index 859d57e8490..2802b19ee26 100644
--- a/sys/arch/octeon/dev/octcib.c
+++ b/sys/arch/octeon/dev/octcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octcib.c,v 1.2 2017/07/31 14:46:14 visa Exp $ */
+/* $OpenBSD: octcib.c,v 1.3 2019/03/16 06:23:03 visa Exp $ */
/*
* Copyright (c) 2017 Visa Hankala
@@ -23,6 +23,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
+#include <sys/evcount.h>
#include <sys/malloc.h>
#include <sys/queue.h>
diff --git a/sys/arch/octeon/dev/octcit.c b/sys/arch/octeon/dev/octcit.c
index 06b79b1b2b4..fce9faa7031 100644
--- a/sys/arch/octeon/dev/octcit.c
+++ b/sys/arch/octeon/dev/octcit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octcit.c,v 1.6 2018/02/24 11:42:31 visa Exp $ */
+/* $OpenBSD: octcit.c,v 1.7 2019/03/16 06:23:03 visa Exp $ */
/*
* Copyright (c) 2017 Visa Hankala
@@ -27,6 +27,7 @@
#include <sys/atomic.h>
#include <sys/conf.h>
#include <sys/device.h>
+#include <sys/evcount.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
diff --git a/sys/arch/octeon/dev/octciu.c b/sys/arch/octeon/dev/octciu.c
index b5520fd0ebc..9b1a15661ed 100644
--- a/sys/arch/octeon/dev/octciu.c
+++ b/sys/arch/octeon/dev/octciu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octciu.c,v 1.12 2019/03/15 14:55:36 visa Exp $ */
+/* $OpenBSD: octciu.c,v 1.13 2019/03/16 06:23:03 visa Exp $ */
/*
* Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se)
@@ -38,6 +38,7 @@
#include <sys/atomic.h>
#include <sys/conf.h>
#include <sys/device.h>
+#include <sys/evcount.h>
#include <sys/kernel.h>
#include <sys/malloc.h>