diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2015-07-19 21:21:15 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2015-07-19 21:21:15 +0000 |
commit | 7c2d7acf609fe68447193c9cd81d16ce3ebdbac0 (patch) | |
tree | 47011eb46ea689f66933f5795a753193e2c057ed /sys/uvm/uvm_extern.h | |
parent | a5b2f81462552a9d606556817667dc9fe5899dc2 (diff) |
Change uvm_page[re]alloc_multi to actually use the flags passed in, and return
a value so that they may be called with UVM_PLA_NOWAIT
ok kettenis@
Diffstat (limited to 'sys/uvm/uvm_extern.h')
-rw-r--r-- | sys/uvm/uvm_extern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h index 68b97337042..b7b78649ed9 100644 --- a/sys/uvm/uvm_extern.h +++ b/sys/uvm/uvm_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_extern.h,v 1.132 2015/05/05 02:13:46 guenther Exp $ */ +/* $OpenBSD: uvm_extern.h,v 1.133 2015/07/19 21:21:14 beck Exp $ */ /* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */ /* @@ -439,11 +439,11 @@ struct vm_page *uvm_pagealloc(struct uvm_object *, voff_t, struct vm_anon *, int); vaddr_t uvm_pagealloc_contig(vaddr_t, vaddr_t, vaddr_t, vaddr_t); -void uvm_pagealloc_multi(struct uvm_object *, voff_t, +int uvm_pagealloc_multi(struct uvm_object *, voff_t, vsize_t, int); void uvm_pagerealloc(struct vm_page *, struct uvm_object *, voff_t); -void uvm_pagerealloc_multi(struct uvm_object *, voff_t, +int uvm_pagerealloc_multi(struct uvm_object *, voff_t, vsize_t, int, struct uvm_constraint_range *); /* Actually, uvm_page_physload takes PF#s which need their own type */ void uvm_page_physload(paddr_t, paddr_t, paddr_t, |