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/i915 Lock the right ...
details: https://anonhg.NetBSD.org/src/rev/f507155fdb08
branches: riastradh-drm2
changeset: 788588:f507155fdb08
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jan 15 13:52:09 2014 +0000
description:
Lock the right uvmobject for uvm_pagelookup.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_drv.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 91a6bfda724f -r f507155fdb08 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Wed Jan 15 13:51:58 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h Wed Jan 15 13:52:09 2014 +0000
@@ -1456,9 +1456,9 @@
* prevent them from disappearing.
*/
KASSERT(obj->pages != NULL);
- mutex_enter(obj->base.gemo_uvmobj.vmobjlock);
+ mutex_enter(obj->base.gemo_shm_uao->vmobjlock);
struct vm_page *const page = uvm_pagelookup(obj->base.gemo_shm_uao, n);
- mutex_exit(obj->base.gemo_uvmobj.vmobjlock);
+ mutex_exit(obj->base.gemo_shm_uao->vmobjlock);
return container_of(page, struct page, p_vmp);
}
Home |
Main Index |
Thread Index |
Old Index