summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/amd64/db_interface.c3
-rw-r--r--sys/arch/arm64/arm64/db_interface.c3
-rw-r--r--sys/arch/arm64/dev/apldart.c3
-rw-r--r--sys/arch/mips64/mips64/db_machdep.c3
-rw-r--r--sys/arch/powerpc/ddb/db_interface.c3
-rw-r--r--sys/arch/powerpc64/powerpc64/db_interface.c3
-rw-r--r--sys/arch/sparc64/sparc64/db_interface.c3
-rw-r--r--sys/dev/fdt/bcm2835_mbox.c3
-rw-r--r--sys/dev/ic/ahcivar.h3
9 files changed, 18 insertions, 9 deletions
diff --git a/sys/arch/amd64/amd64/db_interface.c b/sys/arch/amd64/amd64/db_interface.c
index e5e882e5b09..de64b05590f 100644
--- a/sys/arch/amd64/amd64/db_interface.c
+++ b/sys/arch/amd64/amd64/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.35 2019/11/06 07:34:35 mpi Exp $ */
+/* $OpenBSD: db_interface.c,v 1.36 2021/05/30 15:05:32 visa Exp $ */
/* $NetBSD: db_interface.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */
/*
@@ -36,6 +36,7 @@
#include <sys/param.h>
#include <sys/reboot.h>
#include <sys/systm.h>
+#include <sys/mutex.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/arm64/arm64/db_interface.c b/sys/arch/arm64/arm64/db_interface.c
index 5ff6ff6bfb1..ed28376be20 100644
--- a/sys/arch/arm64/arm64/db_interface.c
+++ b/sys/arch/arm64/arm64/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.9 2021/03/11 11:16:55 jsg Exp $ */
+/* $OpenBSD: db_interface.c,v 1.10 2021/05/30 15:05:32 visa Exp $ */
/* $NetBSD: db_interface.c,v 1.34 2003/10/26 23:11:15 chris Exp $ */
/*
@@ -39,6 +39,7 @@
#include <sys/reboot.h>
#include <sys/systm.h> /* just for boothowto */
#include <sys/exec.h>
+#include <sys/mutex.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/arm64/dev/apldart.c b/sys/arch/arm64/dev/apldart.c
index 391cbc3936d..dfa83508125 100644
--- a/sys/arch/arm64/dev/apldart.c
+++ b/sys/arch/arm64/dev/apldart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apldart.c,v 1.3 2021/05/24 18:38:29 kettenis Exp $ */
+/* $OpenBSD: apldart.c,v 1.4 2021/05/30 15:05:32 visa Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
@@ -20,6 +20,7 @@
#include <sys/device.h>
#include <sys/extent.h>
#include <sys/malloc.h>
+#include <sys/mutex.h>
#include <machine/intr.h>
#include <machine/bus.h>
diff --git a/sys/arch/mips64/mips64/db_machdep.c b/sys/arch/mips64/mips64/db_machdep.c
index 877cc1c9999..bbdf2462b57 100644
--- a/sys/arch/mips64/mips64/db_machdep.c
+++ b/sys/arch/mips64/mips64/db_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.c,v 1.56 2021/05/01 16:11:11 visa Exp $ */
+/* $OpenBSD: db_machdep.c,v 1.57 2021/05/30 15:05:32 visa Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -28,6 +28,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/mutex.h>
#include <sys/proc.h>
#include <dev/cons.h>
diff --git a/sys/arch/powerpc/ddb/db_interface.c b/sys/arch/powerpc/ddb/db_interface.c
index 28b5ddf284d..afc5b3fd5ca 100644
--- a/sys/arch/powerpc/ddb/db_interface.c
+++ b/sys/arch/powerpc/ddb/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.6 2019/11/07 15:58:39 mpi Exp $ */
+/* $OpenBSD: db_interface.c,v 1.7 2021/05/30 15:05:32 visa Exp $ */
/* $NetBSD: db_interface.c,v 1.12 2001/07/22 11:29:46 wiz Exp $ */
/*
@@ -32,6 +32,7 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
+#include <sys/mutex.h>
#include <dev/cons.h>
diff --git a/sys/arch/powerpc64/powerpc64/db_interface.c b/sys/arch/powerpc64/powerpc64/db_interface.c
index 0919812aa4b..e86b1d664bd 100644
--- a/sys/arch/powerpc64/powerpc64/db_interface.c
+++ b/sys/arch/powerpc64/powerpc64/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.3 2020/07/22 20:41:26 kettenis Exp $ */
+/* $OpenBSD: db_interface.c,v 1.4 2021/05/30 15:05:33 visa Exp $ */
/* $NetBSD: db_interface.c,v 1.12 2001/07/22 11:29:46 wiz Exp $ */
/*
@@ -31,6 +31,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/mutex.h>
#include <dev/cons.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/arch/sparc64/sparc64/db_interface.c b/sys/arch/sparc64/sparc64/db_interface.c
index 4ec7a1d4115..fc2382cf0cf 100644
--- a/sys/arch/sparc64/sparc64/db_interface.c
+++ b/sys/arch/sparc64/sparc64/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.55 2020/01/30 08:51:27 mpi Exp $ */
+/* $OpenBSD: db_interface.c,v 1.56 2021/05/30 15:05:33 visa Exp $ */
/* $NetBSD: db_interface.c,v 1.61 2001/07/31 06:55:47 eeh Exp $ */
/*
@@ -35,6 +35,7 @@
#include <sys/reboot.h>
#include <sys/systm.h>
#include <sys/malloc.h>
+#include <sys/mutex.h>
#include <dev/cons.h>
diff --git a/sys/dev/fdt/bcm2835_mbox.c b/sys/dev/fdt/bcm2835_mbox.c
index 1fb756843be..e09b3010504 100644
--- a/sys/dev/fdt/bcm2835_mbox.c
+++ b/sys/dev/fdt/bcm2835_mbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_mbox.c,v 1.1 2020/04/19 14:51:52 tobhe Exp $ */
+/* $OpenBSD: bcm2835_mbox.c,v 1.2 2021/05/30 15:05:33 visa Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -48,6 +48,7 @@
#include <sys/types.h>
#include <sys/systm.h>
+#include <sys/mutex.h>
#include <machine/bus.h>
#include <machine/fdt.h>
diff --git a/sys/dev/ic/ahcivar.h b/sys/dev/ic/ahcivar.h
index ea88bfe402c..1169c57fbc1 100644
--- a/sys/dev/ic/ahcivar.h
+++ b/sys/dev/ic/ahcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahcivar.h,v 1.10 2017/08/21 21:43:46 jmatthew Exp $ */
+/* $OpenBSD: ahcivar.h,v 1.11 2021/05/30 15:05:33 visa Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -18,6 +18,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/mutex.h>
#include <sys/timeout.h>
#include <dev/ata/atascsi.h>
#include <dev/ata/pmreg.h>