summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-10-09 20:30:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-10-09 20:30:19 +0000
commit527b4a64a9a706189639ba08c20fd18fd6e8a978 (patch)
tree23a3153ebc20da256eb71498b15f4d837d869793
parentd91d6b1852c259b9df4ceec0f450e33b4e608645 (diff)
Unbreak the powerpc64 kernel build.
-rw-r--r--sys/arch/powerpc64/powerpc64/pmap.c3
-rw-r--r--sys/arch/powerpc64/powerpc64/syscall.c3
-rw-r--r--sys/arch/powerpc64/powerpc64/trap.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/powerpc64/powerpc64/pmap.c b/sys/arch/powerpc64/powerpc64/pmap.c
index f02f81d0297..18d6d521b65 100644
--- a/sys/arch/powerpc64/powerpc64/pmap.c
+++ b/sys/arch/powerpc64/powerpc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.48 2020/09/07 18:51:47 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.49 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
@@ -48,6 +48,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/pool.h>
#include <sys/proc.h>
diff --git a/sys/arch/powerpc64/powerpc64/syscall.c b/sys/arch/powerpc64/powerpc64/syscall.c
index 6a979c3b1c4..b383c7978f3 100644
--- a/sys/arch/powerpc64/powerpc64/syscall.c
+++ b/sys/arch/powerpc64/powerpc64/syscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.c,v 1.6 2020/07/14 09:42:33 kettenis Exp $ */
+/* $OpenBSD: syscall.c,v 1.7 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
@@ -18,6 +18,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/syscall.h>
diff --git a/sys/arch/powerpc64/powerpc64/trap.c b/sys/arch/powerpc64/powerpc64/trap.c
index d46fbf3ddb4..49b89a90bd4 100644
--- a/sys/arch/powerpc64/powerpc64/trap.c
+++ b/sys/arch/powerpc64/powerpc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.41 2020/10/08 19:41:05 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.42 2020/10/09 20:30:18 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -17,6 +17,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
#include <sys/user.h>