From aed2b04d8f7a069cbc8bec0e7539b694001cc1b1 Mon Sep 17 00:00:00 2001 From: kn Date: Thu, 3 Feb 2022 17:06:09 +0000 Subject: [PATCH] Use UVM_KMF_TRYLOCK for consistency No object change. OK millert --- sys/uvm/uvm_km.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index 94c9951dd79..e62eed9729d 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.147 2021/12/15 12:53:53 mpi Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.148 2022/02/03 17:06:09 kn Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -544,7 +544,7 @@ uvm_km_valloc(struct vm_map *map, vsize_t size) vaddr_t uvm_km_valloc_try(struct vm_map *map, vsize_t size) { - return uvm_km_valloc_align(map, size, 0, UVM_FLAG_TRYLOCK); + return uvm_km_valloc_align(map, size, 0, UVM_KMF_TRYLOCK); } vaddr_t -- 2.20.1