summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_page.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2011-05-10 21:38:05 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2011-05-10 21:38:05 +0000
commit2c12eefb2876e0c05a397f3bba92fc865bb0624d (patch)
treed448cac1128201e518e3fe6062b8fd6fd86facd2 /sys/uvm/uvm_page.c
parent1cce1de89bbb0cc0aa739ec693183d438e2ef7f5 (diff)
Kill vm_page_lookup_freelist.
it belongs to a world order that isn't here anymore. More importantly it has been unused for a fair while now. ok thib@
Diffstat (limited to 'sys/uvm/uvm_page.c')
-rw-r--r--sys/uvm/uvm_page.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c
index 5cd691438df..6940c23b23a 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.106 2011/04/15 21:35:16 oga Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.107 2011/05/10 21:38:04 oga Exp $ */
/* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -1477,23 +1477,6 @@ uvm_pagecopy(struct vm_page *src, struct vm_page *dst)
}
/*
- * uvm_page_lookup_freelist: look up the free list for the specified page
- */
-int
-uvm_page_lookup_freelist(struct vm_page *pg)
-{
-#if VM_PHYSSEG_MAX == 1
- return (vm_physmem[0].free_list);
-#else
- int lcv;
-
- lcv = vm_physseg_find(atop(VM_PAGE_TO_PHYS(pg)), NULL);
- KASSERT(lcv != -1);
- return (vm_physmem[lcv].free_list);
-#endif
-}
-
-/*
* uvm_pagecount: count the number of physical pages in the address range.
*/
psize_t