diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-11-11 15:59:34 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-11-11 15:59:34 +0000 |
commit | 8f25338363d528ee662fdc8c4a5c46c862b37d27 (patch) | |
tree | 86117c9af67faccd05905d7e84e14ddf782588de /sys/uvm/uvm_map.c | |
parent | f3fe9cd8de45e0749634e923096072faf69da20c (diff) |
Remove the superfluous typedef uvm_flag_t (unsigned int). Also, fix an
associated mistake in the uvm manpage.
Suggested by and ok tedu@
Diffstat (limited to 'sys/uvm/uvm_map.c')
-rw-r--r-- | sys/uvm/uvm_map.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index cc0f914dcf1..ec462419442 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.202 2015/10/01 20:27:51 kettenis Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.203 2015/11/11 15:59:33 mmcc Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -940,7 +940,7 @@ uvm_map_addr_augment(struct vm_map_entry *entry) */ int uvm_mapanon(struct vm_map *map, vaddr_t *addr, vsize_t sz, - vsize_t align, uvm_flag_t flags) + vsize_t align, unsigned int flags) { struct vm_map_entry *first, *last, *entry, *new; struct uvm_map_deadq dead; @@ -1128,7 +1128,8 @@ out: */ int uvm_map(struct vm_map *map, vaddr_t *addr, vsize_t sz, - struct uvm_object *uobj, voff_t uoffset, vsize_t align, uvm_flag_t flags) + struct uvm_object *uobj, voff_t uoffset, + vsize_t align, unsigned int flags) { struct vm_map_entry *first, *last, *entry, *new; struct uvm_map_deadq dead; |