diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-08 01:30:03 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-08 01:30:03 +0000 |
commit | 2a7a87e7ab71e53558f1fd8bb59f21d8a6c4228d (patch) | |
tree | 75baaa0c975a02c15bb27a2d3a28c0a4334822a6 /sys | |
parent | f71ae2f68ed4e9856914242b85ca3e316c3b41b3 (diff) |
Fix broken logic in wait flags passed to extent_alloc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/vm_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/vm_machdep.c b/sys/arch/sparc/sparc/vm_machdep.c index 798d99ce039..ed67b3abd2f 100644 --- a/sys/arch/sparc/sparc/vm_machdep.c +++ b/sys/arch/sparc/sparc/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.29 2001/07/25 13:25:33 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.30 2001/08/08 01:30:02 art Exp $ */ /* $NetBSD: vm_machdep.c,v 1.30 1997/03/10 23:55:40 pk Exp $ */ /* @@ -204,11 +204,11 @@ dvma_mapin_space(map, va, len, canwait, space) error = extent_alloc_subregion(dvmamap_extent, DVMA_D24_BASE, DVMA_D24_END, len, dvma_cachealign, va & (dvma_cachealign - 1), 0, - canwait ? EX_WAITSPACE : EX_WAITOK, &tva); + canwait ? EX_WAITSPACE : EX_NOWAIT, &tva); else error = extent_alloc(dvmamap_extent, len, dvma_cachealign, va & (dvma_cachealign - 1), 0, - canwait ? EX_WAITSPACE : EX_WAITOK, &tva); + canwait ? EX_WAITSPACE : EX_NOWAIT, &tva); splx(s); if (error) return NULL; |