Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2 Need <uvm/uvm.h> for struct uvm_object.
details: https://anonhg.NetBSD.org/src/rev/603dc2cd5799
branches: trunk
changeset: 366382:603dc2cd5799
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 15:10:25 2018 +0000
description:
Need <uvm/uvm.h> for struct uvm_object.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drm_gem.h | 6 +++++-
sys/external/bsd/drm2/drm/drm_vm.c | 5 +++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r bfe7afd54322 -r 603dc2cd5799 sys/external/bsd/drm2/dist/include/drm/drm_gem.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_gem.h Mon Aug 27 15:10:12 2018 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_gem.h Mon Aug 27 15:10:25 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_gem.h,v 1.3 2018/08/27 07:19:01 riastradh Exp $ */
+/* $NetBSD: drm_gem.h,v 1.4 2018/08/27 15:10:25 riastradh Exp $ */
#ifndef __DRM_GEM_H__
#define __DRM_GEM_H__
@@ -36,6 +36,10 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#ifdef __NetBSD__
+#include <uvm/uvm.h>
+#endif
+
/**
* This structure defines the drm_mm memory object, which will be used by the
* DRM for its buffer objects.
diff -r bfe7afd54322 -r 603dc2cd5799 sys/external/bsd/drm2/drm/drm_vm.c
--- a/sys/external/bsd/drm2/drm/drm_vm.c Mon Aug 27 15:10:12 2018 +0000
+++ b/sys/external/bsd/drm2/drm/drm_vm.c Mon Aug 27 15:10:25 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_vm.c,v 1.9 2018/08/27 07:51:06 riastradh Exp $ */
+/* $NetBSD: drm_vm.c,v 1.10 2018/08/27 15:10:26 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,11 +30,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_vm.c,v 1.9 2018/08/27 07:51:06 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_vm.c,v 1.10 2018/08/27 15:10:26 riastradh Exp $");
#include <sys/types.h>
#include <sys/conf.h>
+#include <uvm/uvm.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm_device.h>
Home |
Main Index |
Thread Index |
Old Index