diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-09-11 09:27:11 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-09-11 09:27:11 +0000 |
commit | 8f1a6a7211ff35ffce60e48cc94ef59b24974973 (patch) | |
tree | 851417f08e964fdcf2e2798059e6c6a72b260f1d /sys/arch/i386 | |
parent | 609b28f554debaa391848738eae980643560eb2e (diff) |
Include <sys/systm.h> directly instead of relying on hidden UVM includes.
The header is being pulled via db_machdep.h -> uvm_extern.h -> uvm_map.h
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/codepatch.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/db_disasm.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/db_mp.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/hibernate_machdep.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/softintr.c | 3 |
5 files changed, 11 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/codepatch.c b/sys/arch/i386/i386/codepatch.c index cd44bc33cec..0865c8262f8 100644 --- a/sys/arch/i386/i386/codepatch.c +++ b/sys/arch/i386/i386/codepatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: codepatch.c,v 1.4 2017/07/10 00:59:24 mortimer Exp $ */ +/* $OpenBSD: codepatch.c,v 1.5 2020/09/11 09:27:10 mpi Exp $ */ /* * Copyright (c) 2014-2015 Stefan Fritsch <sf@sfritsch.de> * @@ -16,6 +16,7 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <machine/codepatch.h> #include <machine/cpu.h> #include <uvm/uvm_extern.h> diff --git a/sys/arch/i386/i386/db_disasm.c b/sys/arch/i386/i386/db_disasm.c index 4484dd68790..e822088fc14 100644 --- a/sys/arch/i386/i386/db_disasm.c +++ b/sys/arch/i386/i386/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.23 2019/11/07 14:44:53 mpi Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.24 2020/09/11 09:27:10 mpi Exp $ */ /* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */ /* @@ -33,6 +33,7 @@ * Instruction disassembler. */ #include <sys/param.h> +#include <sys/systm.h> #include <machine/db_machdep.h> #include <ddb/db_access.h> diff --git a/sys/arch/i386/i386/db_mp.c b/sys/arch/i386/i386/db_mp.c index efa785c2f4c..d3c576bf5b1 100644 --- a/sys/arch/i386/i386/db_mp.c +++ b/sys/arch/i386/i386/db_mp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_mp.c,v 1.12 2019/11/06 07:34:35 mpi Exp $ */ +/* $OpenBSD: db_mp.c,v 1.13 2020/09/11 09:27:10 mpi Exp $ */ /* * Copyright (c) 2003, 2004 Andreas Gunnarsson <andreas@openbsd.org> @@ -16,6 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/param.h> +#include <sys/systm.h> #include <sys/types.h> #include <sys/mutex.h> diff --git a/sys/arch/i386/i386/hibernate_machdep.c b/sys/arch/i386/i386/hibernate_machdep.c index 2e5b3f89c51..d303d9fd760 100644 --- a/sys/arch/i386/i386/hibernate_machdep.c +++ b/sys/arch/i386/i386/hibernate_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_machdep.c,v 1.55 2018/07/30 14:19:12 kettenis Exp $ */ +/* $OpenBSD: hibernate_machdep.c,v 1.56 2020/09/11 09:27:10 mpi Exp $ */ /* * Copyright (c) 2011 Mike Larkin <mlarkin@openbsd.org> @@ -17,6 +17,7 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/buf.h> #include <sys/conf.h> #include <sys/device.h> diff --git a/sys/arch/i386/i386/softintr.c b/sys/arch/i386/i386/softintr.c index efa5e8b9e34..dbd4d1df8f3 100644 --- a/sys/arch/i386/i386/softintr.c +++ b/sys/arch/i386/i386/softintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softintr.c,v 1.7 2015/09/01 06:01:26 deraadt Exp $ */ +/* $OpenBSD: softintr.c,v 1.8 2020/09/11 09:27:10 mpi Exp $ */ /* $NetBSD: softintr.c,v 1.1 2003/02/26 21:26:12 fvdl Exp $ */ /*- @@ -35,6 +35,7 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/malloc.h> #include <machine/intr.h> |