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/include/drm/ttm ifdef out things ...



details:   https://anonhg.NetBSD.org/src/rev/bb505a887329
branches:  trunk
changeset: 1028242:bb505a887329
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:55:14 2021 +0000

description:
ifdef out things using vm_fault_t


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 274a572f868f -r bb505a887329 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h
--- a/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h   Sun Dec 19 09:55:05 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_api.h   Sun Dec 19 09:55:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_api.h,v 1.6 2021/12/19 01:49:36 riastradh Exp $ */
+/*     $NetBSD: ttm_bo_api.h,v 1.7 2021/12/19 09:55:14 riastradh Exp $ */
 
 /**************************************************************************
  *
@@ -775,6 +775,7 @@
 /* Default number of pre-faulted pages in the TTM fault handler */
 #define TTM_BO_VM_NUM_PREFAULT 16
 
+#ifdef __linux__
 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo,
                             struct vm_fault *vmf);
 
@@ -790,5 +791,6 @@
 
 int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr,
                     void *buf, int len, int write);
+#endif
 
 #endif



Home | Main Index | Thread Index | Old Index