summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2002-03-14 15:35:48 +0000
committerdhartmei <dhartmei@openbsd.org>2002-03-14 15:35:48 +0000
commit48a39fefdb1eb313761d134b9f6f77d69cc701b3 (patch)
treef104dbf9e4ea824335a7aeafd166a7ef8373a66c
parentdon't trust size sent by (rogue) server; noted by s.esser@e-matters.de (diff)
downloadwireguard-openbsd-48a39fefdb1eb313761d134b9f6f77d69cc701b3.tar.xz
wireguard-openbsd-48a39fefdb1eb313761d134b9f6f77d69cc701b3.zip
Prototype pmap_unwire() only if it's not already defined. ok drahn@.
-rw-r--r--sys/uvm/uvm_pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/uvm/uvm_pmap.h b/sys/uvm/uvm_pmap.h
index 5478149c61c..fdb6cd0e62d 100644
--- a/sys/uvm/uvm_pmap.h
+++ b/sys/uvm/uvm_pmap.h
@@ -106,7 +106,9 @@ void pmap_activate(struct proc *);
#ifndef pmap_deactivate
void pmap_deactivate(struct proc *);
#endif
+#ifndef pmap_unwire
void pmap_unwire(pmap_t, vaddr_t);
+#endif
#if !defined(pmap_clear_modify)
boolean_t pmap_clear_modify(struct vm_page *);