aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-08-25 00:22:31 +0000
committerAlan Cox <alc@FreeBSD.org>2002-08-25 00:22:31 +0000
commitfff6062ab6ecf009527893e09ed3e9f689c16bbc (patch)
tree1434aead5b19bb951abb3181cdfe9517740f36b6 /sys/vm/vm_page.c
parentfd559a8a39190baac3e0323716ead55687c6ffcb (diff)
downloadsrc-fff6062ab6ecf009527893e09ed3e9f689c16bbc.tar.gz
src-fff6062ab6ecf009527893e09ed3e9f689c16bbc.zip
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.
Notes
Notes: svn path=/head/; revision=102382
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index a4b9fc61dea8..637d2c095aaa 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -454,31 +454,6 @@ vm_page_protect(vm_page_t mem, int prot)
vm_page_flag_clear(mem, PG_WRITEABLE);
}
}
-/*
- * vm_page_zero_fill:
- *
- * Zero-fill the specified page.
- * Written as a standard pagein routine, to
- * be used by the zero-fill object.
- */
-boolean_t
-vm_page_zero_fill(vm_page_t m)
-{
- pmap_zero_page(m);
- return (TRUE);
-}
-
-/*
- * vm_page_zero_fill_area:
- *
- * Like vm_page_zero_fill but only fill the specified area.
- */
-boolean_t
-vm_page_zero_fill_area(vm_page_t m, int off, int size)
-{
- pmap_zero_page_area(m, off, size);
- return (TRUE);
-}
/*
* vm_page_copy: