summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-16 23:05:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-16 23:05:24 +0000
commitadd8dfefecc906fd7c9e5f7d9784755ad2cd5682 (patch)
tree2786820b91f6cb3bc80da4bbf0ace1a4eeb99545 /sys/uvm
parent80d7b3f20b71262c9cf927d3f395e9b0eca7d70e (diff)
IS_VM_PHYSADDR is no longer used.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_page.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/uvm/uvm_page.h b/sys/uvm/uvm_page.h
index 019a4b0f4ed..4419c861e8c 100644
--- a/sys/uvm/uvm_page.h
+++ b/sys/uvm/uvm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.h,v 1.21 2003/11/08 19:17:28 jmc Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.22 2006/06/16 23:05:23 miod Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
@@ -391,13 +391,6 @@ vm_physseg_find(pframe, offp)
#endif
}
-
-/*
- * IS_VM_PHYSADDR: only used my mips/pmax/pica trap/pmap.
- */
-
-#define IS_VM_PHYSADDR(PA) (vm_physseg_find(atop(PA), NULL) != -1)
-
/*
* PHYS_TO_VM_PAGE: find vm_page for a PA. used by MI code to get vm_pages
* back from an I/O mapping (ugh!). used in some MD code as well.