Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Ifdef out the Linux-...
details: https://anonhg.NetBSD.org/src/rev/693effa841ee
branches: riastradh-drm2
changeset: 788243:693effa841ee
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:53:07 2013 +0000
description:
Ifdef out the Linux-style vm routines in drm_gem.c.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_gem.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r aaac2c7af8c6 -r 693effa841ee sys/external/bsd/drm2/dist/drm/drm_gem.c
--- a/sys/external/bsd/drm2/dist/drm/drm_gem.c Wed Jul 24 02:52:52 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_gem.c Wed Jul 24 02:53:07 2013 +0000
@@ -669,6 +669,8 @@
}
EXPORT_SYMBOL(drm_gem_object_handle_free);
+#ifndef __NetBSD__
+
void drm_gem_vm_open(struct vm_area_struct *vma)
{
struct drm_gem_object *obj = vma->vm_private_data;
@@ -768,3 +770,5 @@
return ret;
}
EXPORT_SYMBOL(drm_gem_mmap);
+
+#endif /* defined(__NetBSD__) */
Home |
Main Index |
Thread Index |
Old Index