diff options
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r-- | sys/pci/agp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c index 7fdbb73..3b38641 100644 --- a/sys/pci/agp.c +++ b/sys/pci/agp.c @@ -529,17 +529,13 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem, * Bail out. Reverse all the mappings * and unwire the pages. */ - vm_page_lock_queues(); vm_page_wakeup(m); - vm_page_unlock_queues(); for (k = 0; k < i + j; k += AGP_PAGE_SIZE) AGP_UNBIND_PAGE(dev, offset + k); goto bad; } } - vm_page_lock_queues(); vm_page_wakeup(m); - vm_page_unlock_queues(); } VM_OBJECT_UNLOCK(mem->am_obj); |