summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_page.c19
-rw-r--r--sys/uvm/uvm_page.h4
2 files changed, 2 insertions, 21 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
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index f936882425b..d3f5f0f7269 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.46 2011/05/07 15:27:01 oga Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.47 2011/05/10 21:38:04 oga Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -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.