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/ttm Need <asm/barrier.h> for mb.



details:   https://anonhg.NetBSD.org/src/rev/6120c77e8a1b
branches:  trunk
changeset: 992771:6120c77e8a1b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:45:02 2018 +0000

description:
Need <asm/barrier.h> for mb.

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2fefca8d0b3e -r 6120c77e8a1b sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c  Mon Aug 27 07:44:52 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c  Mon Aug 27 07:45:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_util.c,v 1.7 2018/08/27 04:58:37 riastradh Exp $        */
+/*     $NetBSD: ttm_bo_util.c,v 1.8 2018/08/27 07:45:02 riastradh Exp $        */
 
 /**************************************************************************
  *
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.7 2018/08/27 04:58:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.8 2018/08/27 07:45:02 riastradh Exp $");
 
 #include <drm/ttm/ttm_bo_driver.h>
 #include <drm/ttm/ttm_placement.h>
@@ -44,6 +44,7 @@
 #include <linux/module.h>
 #include <linux/reservation.h>
 #include <linux/export.h>
+#include <asm/barrier.h>
 
 #ifdef __NetBSD__              /* PMAP_* caching flags for ttm_io_prot */
 #include <uvm/uvm_pmap.h>



Home | Main Index | Thread Index | Old Index