summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
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/pci/drm
parentd6940597d6670acbd5dd4f0dba3496e3bab059fc (diff)
replace uvm.h includes with uvm_extern.h where possible
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_gem_dma_helper.c4
-rw-r--r--sys/dev/pci/drm/drm_gem_ttm_helper.c2
2 files changed, 3 insertions, 3 deletions
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>