summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_pmap.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 00:58:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 00:58:42 +0000
commit6e57a71aede28b26e5e123060afe88ded1a087b8 (patch)
tree2289a5fff4924d0041f4bad9fa46e060ccb6c007 /sys/uvm/uvm_pmap.h
parentb1284f7a65f7b27c35036619089c288a78b1b95d (diff)
Don't prototype pmap_copy() if it is a macro
Diffstat (limited to 'sys/uvm/uvm_pmap.h')
-rw-r--r--sys/uvm/uvm_pmap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 4180c47ca45..fd4cde6a5c7 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -112,8 +112,9 @@ boolean_t pmap_clear_reference __P((struct vm_page *));
#endif
void pmap_collect __P((pmap_t));
-void pmap_copy __P((pmap_t,
- pmap_t, vaddr_t, vsize_t, vaddr_t));
+#if !defined(pmap_copy)
+void pmap_copy __P((pmap_t, pmap_t, vaddr_t, vsize_t, vaddr_t));
+#endif
void pmap_copy_page __P((paddr_t, paddr_t));
struct pmap *pmap_create __P((void));
void pmap_destroy __P((pmap_t));