summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r--sys/pci/agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index b8e04fa..c475145 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -423,7 +423,7 @@ agp_generic_bind_memory(device_t dev, struct agp_memory *mem,
m = vm_page_grab(mem->am_obj, OFF_TO_IDX(i),
VM_ALLOC_WIRED | VM_ALLOC_ZERO | VM_ALLOC_RETRY);
if ((m->flags & PG_ZERO) == 0)
- vm_page_zero_fill(m);
+ pmap_zero_page(m);
AGP_DPF("found page pa=%#x\n", VM_PAGE_TO_PHYS(m));
/*
OpenPOWER on IntegriCloud