Date: Wed, 7 Aug 2013 05:52:11 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r254022 - stable/9/sys/dev/drm2/i915 Message-ID: <201308070552.r775qBu8044128@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed Aug 7 05:52:11 2013 New Revision: 254022 URL: http://svnweb.freebsd.org/changeset/base/254022 Log: MFC r253497: Use the right name for the vm_map_find(9) flag to specify shared mapping. Modified: stable/9/sys/dev/drm2/i915/i915_gem.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/drm2/i915/i915_gem.c ============================================================================== --- stable/9/sys/dev/drm2/i915/i915_gem.c Wed Aug 7 04:03:30 2013 (r254021) +++ stable/9/sys/dev/drm2/i915/i915_gem.c Wed Aug 7 05:52:11 2013 (r254022) @@ -1290,7 +1290,7 @@ i915_gem_mmap_ioctl(struct drm_device *d DRM_UNLOCK(dev); rv = vm_map_find(map, obj->vm_obj, args->offset, &addr, args->size, VMFS_ANY_SPACE, VM_PROT_READ | VM_PROT_WRITE, - VM_PROT_READ | VM_PROT_WRITE, MAP_SHARED); + VM_PROT_READ | VM_PROT_WRITE, MAP_INHERIT_SHARE); if (rv != KERN_SUCCESS) { vm_object_deallocate(obj->vm_obj); error = -vm_mmap_to_errno(rv);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308070552.r775qBu8044128>