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 Remove obsolete comment
details: https://anonhg.NetBSD.org/src/rev/c628a616228b
branches: trunk
changeset: 773299:c628a616228b
user: cherry <cherry%NetBSD.org@localhost>
date: Mon Jan 30 17:56:27 2012 +0000
description:
Remove obsolete comment
diffstat:
sys/arch/x86/x86/pmap.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r b628396ac9ed -r c628a616228b sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c Mon Jan 30 17:54:34 2012 +0000
+++ b/sys/arch/x86/x86/pmap.c Mon Jan 30 17:56:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.161 2012/01/30 10:33:05 cherry Exp $ */
+/* $NetBSD: pmap.c,v 1.162 2012/01/30 17:56:27 cherry Exp $ */
/*-
* Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.161 2012/01/30 10:33:05 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.162 2012/01/30 17:56:27 cherry Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1986,10 +1986,6 @@
pmap_pte_set(&pva[index], (pd_entry_t)
(pmap_pa2pte(pa) | PG_u | PG_RW | PG_V));
#if defined(XEN) && defined(__x86_64__)
- /*
- * In Xen we must enter the mapping in kernel map too
- * if pmap is curmap and modifying top level (PGD)
- */
if(i == PTP_LEVELS && pmap != pmap_kernel()) {
/*
* Update the per-cpu PD on all cpus the current
Home |
Main Index |
Thread Index |
Old Index