summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-03-10 21:07:44 +0000
committeralc <alc@FreeBSD.org>2013-03-10 21:07:44 +0000
commit762178138a53678e0b3ec8c3710855bf0cfa239e (patch)
tree4c3cb801a0e768cd39f1e5037cfa9df014b2cd0c /sys/amd64
parent06d38aaf357114e905ed4e58bd204e2f5b6a4964 (diff)
downloadFreeBSD-src-762178138a53678e0b3ec8c3710855bf0cfa239e.zip
FreeBSD-src-762178138a53678e0b3ec8c3710855bf0cfa239e.tar.gz
The kernel pmap is statically allocated, so there is really no need to
explicitly initialize its pm_root field to zero. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 10481a7..aa38013 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -669,7 +669,6 @@ pmap_bootstrap(vm_paddr_t *firstaddr)
*/
PMAP_LOCK_INIT(kernel_pmap);
kernel_pmap->pm_pml4 = (pdp_entry_t *)PHYS_TO_DMAP(KPML4phys);
- kernel_pmap->pm_root = NULL;
CPU_FILL(&kernel_pmap->pm_active); /* don't allow deactivation */
TAILQ_INIT(&kernel_pmap->pm_pvchunk);
OpenPOWER on IntegriCloud