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/dist/drm/i915/gem no struct vm_are_str...



details:   https://anonhg.NetBSD.org/src/rev/abe6b815d507
branches:  trunk
changeset: 1028545:abe6b815d507
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:17:35 2021 +0000

description:
no struct vm_are_struct, ifdef out declaration


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8d14845692b4 -r abe6b815d507 sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.h
--- a/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.h   Sun Dec 19 11:17:27 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_mman.h   Sun Dec 19 11:17:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_gem_mman.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $      */
+/*     $NetBSD: i915_gem_mman.h,v 1.3 2021/12/19 11:17:35 riastradh Exp $      */
 
 /*
  * SPDX-License-Identifier: MIT
@@ -20,7 +20,9 @@
 struct mutex;
 
 int i915_gem_mmap_gtt_version(void);
+#ifdef __linux__
 int i915_gem_mmap(struct file *filp, struct vm_area_struct *vma);
+#endif
 
 int i915_gem_dumb_mmap_offset(struct drm_file *file_priv,
                              struct drm_device *dev,



Home | Main Index | Thread Index | Old Index