summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/ttm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2013-06-16 22:25:52 +0200
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:42:38 +1000
commit942cd33fdc819728a9b2406399f3ca238a42340b (patch)
tree16ded9e6a0f40490abcbec894dc284371655e865 /sys/dev/pci/drm/ttm
parent4112b37eeac7c56b9d050987be2cffa0c8068246 (diff)
don't uvm_pageunwire a page right before calling uvm_pagefree on it
Diffstat (limited to 'sys/dev/pci/drm/ttm')
-rw-r--r--sys/dev/pci/drm/ttm/ttm_page_alloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/ttm/ttm_page_alloc.c b/sys/dev/pci/drm/ttm/ttm_page_alloc.c
index 793e3503866..f3828075a33 100644
--- a/sys/dev/pci/drm/ttm/ttm_page_alloc.c
+++ b/sys/dev/pci/drm/ttm/ttm_page_alloc.c
@@ -168,7 +168,6 @@ ttm_vm_page_free(vm_page_t m)
KASSERT(m->wire_count == 1);
KASSERT((m->pg_flags & PG_FAKE) != 0);
#endif
- uvm_pageunwire(m);
uvm_pagefree(m);
}