From: guenther Date: Sat, 13 Dec 2014 23:29:14 +0000 (+0000) Subject: An UVM_ADV_NORMAL -> MADV_NORMAL was missed here X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6de3047e95b905caa2e8cf44507c7527692f6db8;p=openbsd An UVM_ADV_NORMAL -> MADV_NORMAL was missed here --- diff --git a/sys/arch/mips64/mips64/mips64_machdep.c b/sys/arch/mips64/mips64/mips64_machdep.c index a8e49bb9a0b..21dd133ee49 100644 --- a/sys/arch/mips64/mips64/mips64_machdep.c +++ b/sys/arch/mips64/mips64/mips64_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mips64_machdep.c,v 1.17 2014/11/16 12:30:58 deraadt Exp $ */ +/* $OpenBSD: mips64_machdep.c,v 1.18 2014/12/13 23:29:14 guenther Exp $ */ /* * Copyright (c) 2009, 2010, 2012 Miodrag Vallat. @@ -185,7 +185,7 @@ exec_md_map(struct proc *p, struct exec_package *pack) rc = uvm_map(&p->p_vmspace->vm_map, &va, PAGE_SIZE, NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(PROT_NONE, PROT_MASK, UVM_INH_COPY, - UVM_ADV_NORMAL, UVM_FLAG_COPYONW)); + MADV_NORMAL, UVM_FLAG_COPYONW)); if (rc != 0) return rc; #ifdef DEBUG