Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Update the pmap only once
details: https://anonhg.NetBSD.org/src/rev/36f22e73a7a2
branches: trunk
changeset: 348842:36f22e73a7a2
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Nov 11 09:47:18 2016 +0000
description:
Update the pmap only once
diffstat:
sys/arch/x86/x86/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 99fd1db60909 -r 36f22e73a7a2 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Fri Nov 11 07:39:58 2016 +0000
+++ b/sys/arch/x86/x86/pmap.c Fri Nov 11 09:47:18 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.223 2016/11/08 03:05:36 christos Exp $ */
+/* $NetBSD: pmap.c,v 1.224 2016/11/11 09:47:18 maxv Exp $ */
/*-
* Copyright (c) 2008, 2010, 2016 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.223 2016/11/08 03:05:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.224 2016/11/11 09:47:18 maxv Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -4547,8 +4547,8 @@
pmap_kenter_pa(x86_tmp_pml_vaddr[level],
x86_tmp_pml_paddr[level],
VM_PROT_READ | VM_PROT_WRITE, 0);
- pmap_update(pmap_kernel());
}
+ pmap_update(pmap_kernel());
maps_loaded = true;
}
Home |
Main Index |
Thread Index |
Old Index