summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_fault.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-11-06 11:52:40 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-11-06 11:52:40 +0000
commit582511428c84c67209fdc076be8b5be49c83bc11 (patch)
tree176c6c1d4f612ed9fa23ca3aac8b40a48b276cbc /sys/uvm/uvm_fault.h
parent9fe867ef7e5b79dfbf6055572ffe97db26fe00d5 (diff)
Remove unused `anon' argument from uvmfault_unlockall().
It won't be used when amap and anon locking will be introduced. This "fixes" passing a unrelated/uninitialized pointer in an error path in case of memory shortage. ok kettenis@
Diffstat (limited to 'sys/uvm/uvm_fault.h')
-rw-r--r--sys/uvm/uvm_fault.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_fault.h b/sys/uvm/uvm_fault.h
index 12492d4f38c..cbeca0a483b 100644
--- a/sys/uvm/uvm_fault.h
+++ b/sys/uvm/uvm_fault.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_fault.h,v 1.15 2014/07/11 16:35:40 jsg Exp $ */
+/* $OpenBSD: uvm_fault.h,v 1.16 2020/11/06 11:52:39 mpi Exp $ */
/* $NetBSD: uvm_fault.h,v 1.14 2000/06/26 14:21:17 mrg Exp $ */
/*
@@ -70,7 +70,7 @@ void uvmfault_init(void);
boolean_t uvmfault_lookup(struct uvm_faultinfo *, boolean_t);
boolean_t uvmfault_relock(struct uvm_faultinfo *);
void uvmfault_unlockall(struct uvm_faultinfo *, struct vm_amap *,
- struct uvm_object *, struct vm_anon *);
+ struct uvm_object *);
int uvmfault_anonget(struct uvm_faultinfo *, struct vm_amap *,
struct vm_anon *);