svn commit: r204161 - head/sys/amd64/amd64

Alan Cox alc at FreeBSD.org
Sun Feb 21 03:49:40 UTC 2010


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. */


More information about the svn-src-all mailing list