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 vunmap takes 2 parameters...
details: https://anonhg.NetBSD.org/src/rev/f7ca9697cc08
branches: trunk
changeset: 341082:f7ca9697cc08
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Oct 17 21:12:37 2015 +0000
description:
vunmap takes 2 parameters on netbsd
diffstat:
sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r b1d968dd999e -r f7ca9697cc08 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Sat Oct 17 21:11:56 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c Sat Oct 17 21:12:37 2015 +0000
@@ -371,7 +371,11 @@
kunmap_atomic(src);
#else
if (pgprot_val(prot) != pgprot_val(PAGE_KERNEL))
+#ifdef __NetBSD__
+ vunmap(src, 1);
+#else
vunmap(src);
+#endif
else
kunmap(s);
#endif
Home |
Main Index |
Thread Index |
Old Index