Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2010 03:49:39 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204161 - head/sys/amd64/amd64
Message-ID:  <201002210349.o1L3ndrO007839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sun Feb 21 03:49:39 2010
New Revision: 204161
URL: http://svn.freebsd.org/changeset/base/204161

Log:
  Since create_pagetables() zeroes the page tables, pmap_bootstrap() needn't
  zero *CMAP1.

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Sun Feb 21 01:13:34 2010	(r204160)
+++ head/sys/amd64/amd64/pmap.c	Sun Feb 21 03:49:39 2010	(r204161)
@@ -573,8 +573,6 @@ pmap_bootstrap(vm_paddr_t *firstaddr)
 
 	virtual_avail = va;
 
-	*CMAP1 = 0;
-
 	invltlb();
 
 	/* Initialize the PAT MSR. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002210349.o1L3ndrO007839>