From 6de3047e95b905caa2e8cf44507c7527692f6db8 Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 13 Dec 2014 23:29:14 +0000 Subject: [PATCH] An UVM_ADV_NORMAL -> MADV_NORMAL was missed here --- sys/arch/mips64/mips64/mips64_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1