summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-18 21:21:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-18 21:21:39 +0000
commit9b19045559b127eb080350c94ec86e86fb094292 (patch)
treee371c69e8aa6571e745d7d1b88b1d28e1f7f556d /sys/uvm
parent77eb8f3f8fd7ac63af7818f6b21e71f2c23cde70 (diff)
Declare pmap_proc_iflush() in <uvm/uvm_pmap.h> unless <machine/pmap.h>
provides an inline version of it.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_pmap.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 10a9c372f83..40a98394efc 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pmap.h,v 1.20 2009/02/05 01:10:44 oga Exp $ */
+/* $OpenBSD: uvm_pmap.h,v 1.21 2010/11/18 21:21:38 miod Exp $ */
/* $NetBSD: uvm_pmap.h,v 1.1 2000/06/27 09:00:14 mrg Exp $ */
/*
@@ -151,8 +151,10 @@ void pmap_page_protect(struct vm_page *, vm_prot_t);
#if !defined(pmap_phys_address)
paddr_t pmap_phys_address(paddr_t);
#endif
-void pmap_protect(pmap_t,
- vaddr_t, vaddr_t, vm_prot_t);
+#if !defined(pmap_proc_iflush)
+void pmap_proc_iflush(struct proc *, vaddr_t, vsize_t);
+#endif
+void pmap_protect(pmap_t, vaddr_t, vaddr_t, vm_prot_t);
#if !defined(pmap_reference)
void pmap_reference(pmap_t);
#endif