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/powerpc | |
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/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/softintr.c | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/sys_machdep.c | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/vm_machdep.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/softintr.c b/sys/arch/powerpc/powerpc/softintr.c index 42ddf896362..4e4f7650425 100644 --- a/sys/arch/powerpc/powerpc/softintr.c +++ b/sys/arch/powerpc/powerpc/softintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softintr.c,v 1.9 2017/07/25 03:46:59 visa Exp $ */ +/* $OpenBSD: softintr.c,v 1.10 2020/09/11 09:27:10 mpi Exp $ */ /* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */ /* @@ -37,6 +37,7 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/malloc.h> #include <sys/mutex.h> diff --git a/sys/arch/powerpc/powerpc/sys_machdep.c b/sys/arch/powerpc/powerpc/sys_machdep.c index 7469aa290af..8ff2bc83f79 100644 --- a/sys/arch/powerpc/powerpc/sys_machdep.c +++ b/sys/arch/powerpc/powerpc/sys_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_machdep.c,v 1.4 2003/10/15 02:43:09 drahn Exp $ */ +/* $OpenBSD: sys_machdep.c,v 1.5 2020/09/11 09:27:10 mpi Exp $ */ /* $NetBSD: sys_machdep.c,v 1.1 1996/09/30 16:34:56 ws Exp $ */ /* @@ -33,6 +33,7 @@ */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/mount.h> #include <sys/syscallargs.h> diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c index fc64451a15c..1f40c917991 100644 --- a/sys/arch/powerpc/powerpc/vm_machdep.c +++ b/sys/arch/powerpc/powerpc/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.49 2017/02/12 04:55:08 guenther Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.50 2020/09/11 09:27:10 mpi Exp $ */ /* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */ /* @@ -32,6 +32,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/exec.h> #include <sys/pool.h> #include <sys/proc.h> |