diff options
author | alc <alc@FreeBSD.org> | 2002-08-25 00:22:31 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-08-25 00:22:31 +0000 |
commit | cdcc7b3446c85c853dfe52a068a60cfe203c5afd (patch) | |
tree | 1434aead5b19bb951abb3181cdfe9517740f36b6 /sys/pci | |
parent | 883caafe6b42481f1cd62d5448db088af9bc54b7 (diff) | |
download | FreeBSD-src-cdcc7b3446c85c853dfe52a068a60cfe203c5afd.zip FreeBSD-src-cdcc7b3446c85c853dfe52a068a60cfe203c5afd.tar.gz |
o Retire vm_page_zero_fill() and vm_page_zero_fill_area(). Ever since
pmap_zero_page() and pmap_zero_page_area() were modified to accept
a struct vm_page * instead of a physical address, vm_page_zero_fill()
and vm_page_zero_fill_area() have served no purpose.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/agp.c | 2 | ||||
-rw-r--r-- | sys/pci/agp_i810.c | 2 |
2 files changed, 2 insertions, 2 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)); /* diff --git a/sys/pci/agp_i810.c b/sys/pci/agp_i810.c index c78cfb1..5f17de0 100644 --- a/sys/pci/agp_i810.c +++ b/sys/pci/agp_i810.c @@ -373,7 +373,7 @@ agp_i810_alloc_memory(device_t dev, int type, vm_size_t size) m = vm_page_grab(mem->am_obj, 0, VM_ALLOC_WIRED | VM_ALLOC_ZERO | VM_ALLOC_RETRY); if ((m->flags & PG_ZERO) == 0) - vm_page_zero_fill(m); + pmap_zero_page(m); vm_page_lock_queues(); mem->am_physical = VM_PAGE_TO_PHYS(m); vm_page_wakeup(m); |