Module Name:    src
Committed By:   cherry
Date:           Mon Jan 30 17:56:27 UTC 2012

Modified Files:
        src/sys/arch/x86/x86: pmap.c

Log Message:
Remove obsolete comment


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.161 src/sys/arch/x86/x86/pmap.c:1.162
--- src/sys/arch/x86/x86/pmap.c:1.161	Mon Jan 30 10:33:05 2012
+++ src/sys/arch/x86/x86/pmap.c	Mon Jan 30 17:56:27 2012
@@ -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_get_ptp(struct pmap *pmap, vaddr_t 
 		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

Reply via email to