Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Don't confuse between VM_PROT and UVM_P...
details: https://anonhg.NetBSD.org/src/rev/f1a0e8582aae
branches: trunk
changeset: 346213:f1a0e8582aae
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Jul 01 12:41:28 2016 +0000
description:
Don't confuse between VM_PROT and UVM_PROT. This should be VM_PROT.
diffstat:
sys/arch/amd64/amd64/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e09491fed6b2 -r f1a0e8582aae sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c Fri Jul 01 12:36:43 2016 +0000
+++ b/sys/arch/amd64/amd64/machdep.c Fri Jul 01 12:41:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.218 2016/07/01 10:20:10 maxv Exp $ */
+/* $NetBSD: machdep.c,v 1.219 2016/07/01 12:41:28 maxv Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.218 2016/07/01 10:20:10 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.219 2016/07/01 12:41:28 maxv Exp $");
/* #define XENDEBUG_LOW */
@@ -361,7 +361,7 @@
for (x = 0; x < btoc(msgbuf_p_seg[y].sz); x++, sz += PAGE_SIZE)
pmap_kenter_pa((vaddr_t)msgbuf_vaddr + sz,
msgbuf_p_seg[y].paddr + x * PAGE_SIZE,
- VM_PROT_READ | UVM_PROT_WRITE, 0);
+ VM_PROT_READ | VM_PROT_WRITE, 0);
}
pmap_update(pmap_kernel());
Home |
Main Index |
Thread Index |
Old Index