summaryrefslogtreecommitdiff
path: root/sys/dev
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/dev
parentd6940597d6670acbd5dd4f0dba3496e3bab059fc (diff)
replace uvm.h includes with uvm_extern.h where possible
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/psp.c4
-rw-r--r--sys/dev/pci/drm/drm_gem_dma_helper.c4
-rw-r--r--sys/dev/pci/drm/drm_gem_ttm_helper.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/psp.c b/sys/dev/ic/psp.c
index 0eba7ad4d28..6f3a6519c61 100644
--- a/sys/dev/ic/psp.c
+++ b/sys/dev/ic/psp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: psp.c,v 1.13 2024/11/09 11:47:47 bluhm Exp $ */
+/* $OpenBSD: psp.c,v 1.14 2024/11/10 06:51:59 jsg Exp $ */
/*
* Copyright (c) 2023, 2024 Hans-Joerg Hoexer <hshoexer@genua.de>
@@ -27,7 +27,7 @@
#include <machine/bus.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <crypto/xform.h>
#include <dev/ic/ccpvar.h>
diff --git a/sys/dev/pci/drm/drm_gem_dma_helper.c b/sys/dev/pci/drm/drm_gem_dma_helper.c
index d8c8d3d0377..05bdfefecbf 100644
--- a/sys/dev/pci/drm/drm_gem_dma_helper.c
+++ b/sys/dev/pci/drm/drm_gem_dma_helper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_gem_dma_helper.c,v 1.3 2024/01/16 23:37:51 jsg Exp $ */
+/* $OpenBSD: drm_gem_dma_helper.c,v 1.4 2024/11/10 06:51:59 jsg Exp $ */
/* $NetBSD: drm_gem_dma_helper.c,v 1.9 2019/11/05 23:29:28 jmcneill Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill@invisible.ca>
@@ -32,7 +32,7 @@
#include <drm/drm_device.h>
#include <drm/drm_gem_dma_helper.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
static const struct drm_gem_object_funcs drm_gem_dma_default_funcs = {
.free = drm_gem_dma_free_object,
diff --git a/sys/dev/pci/drm/drm_gem_ttm_helper.c b/sys/dev/pci/drm/drm_gem_ttm_helper.c
index 067ef4cc941..643c613d02c 100644
--- a/sys/dev/pci/drm/drm_gem_ttm_helper.c
+++ b/sys/dev/pci/drm/drm_gem_ttm_helper.c
@@ -2,7 +2,7 @@
#include <sys/types.h>
#include <sys/param.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <linux/kernel.h>
#include <linux/iosys-map.h>