summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-11-10 06:52:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-11-10 06:52:00 +0000
commit691328bd8f78bbebf12daaa96e24b5824828367c (patch)
treed279bbd18201f2c724fb0a530cb898a928128e20 /sys/arch/riscv64
parentd6940597d6670acbd5dd4f0dba3496e3bab059fc (diff)
replace uvm.h includes with uvm_extern.h where possible
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r--sys/arch/riscv64/riscv64/autoconf.c4
-rw-r--r--sys/arch/riscv64/riscv64/cpu.c4
-rw-r--r--sys/arch/riscv64/riscv64/machdep.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/riscv64/riscv64/autoconf.c b/sys/arch/riscv64/riscv64/autoconf.c
index 800f93ead91..c600f59b573 100644
--- a/sys/arch/riscv64/riscv64/autoconf.c
+++ b/sys/arch/riscv64/riscv64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.6 2022/09/08 10:22:06 kn Exp $ */
+/* $OpenBSD: autoconf.c,v 1.7 2024/11/10 06:51:59 jsg Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -21,7 +21,7 @@
#include <sys/reboot.h>
#include <sys/hibernate.h>
#include <sys/systm.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#if defined(NFSCLIENT)
#include <net/if.h>
diff --git a/sys/arch/riscv64/riscv64/cpu.c b/sys/arch/riscv64/riscv64/cpu.c
index 656c8f21887..e8400d4eed3 100644
--- a/sys/arch/riscv64/riscv64/cpu.c
+++ b/sys/arch/riscv64/riscv64/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.20 2024/07/14 09:48:49 jca Exp $ */
+/* $OpenBSD: cpu.c,v 1.21 2024/11/10 06:51:59 jsg Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
@@ -25,7 +25,7 @@
#include <sys/sysctl.h>
#include <sys/task.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <machine/cpufunc.h>
#include <machine/elf.h>
diff --git a/sys/arch/riscv64/riscv64/machdep.c b/sys/arch/riscv64/riscv64/machdep.c
index 9f2b01b4329..addea693298 100644
--- a/sys/arch/riscv64/riscv64/machdep.c
+++ b/sys/arch/riscv64/riscv64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.38 2024/04/06 18:33:54 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.39 2024/11/10 06:51:59 jsg Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -35,7 +35,7 @@
#include <sys/syscallargs.h>
#include <net/if.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <dev/cons.h>
#include <dev/ofw/fdt.h>
#include <dev/ofw/openfirm.h>