ok?
-0-
diff --git uvm/uvm_page.c uvm/uvm_page.c
index f1b5d04..10ef7d1 100644
--- uvm/uvm_page.c
+++ uvm/uvm_page.c
@@ -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
diff --git uvm/uvm_page.h uvm/uvm_page.h
index 3acbfd1..e131424 100644
--- uvm/uvm_page.h
+++ uvm/uvm_page.h
@@ -256,8 +256,6 @@ void uvm_pagealloc_pg(struct vm_page *,
struct uvm_object *,
struct uvm_constraint_range; /* XXX move to uvm_extern.h? */
psize_t uvm_pagecount(struct uvm_constraint_range*);
-int uvm_page_lookup_freelist(struct vm_page *);
-
#if VM_PHYSSEG_MAX == 1
/*
* Inline functions for archs like the vax where function calls are expensive.
--
Harris's Lament:
All the good ones are taken.