summaryrefslogtreecommitdiffstats
path: root/sys/i386
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/i386
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/i386')
-rw-r--r--sys/i386/i386/pmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 80f07a2..a62e180 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -392,7 +392,6 @@ pmap_bootstrap(vm_paddr_t firstaddr)
#ifdef PAE
kernel_pmap->pm_pdpt = (pdpt_entry_t *) (KERNBASE + (u_int)IdlePDPT);
#endif
- kernel_pmap->pm_root = NULL;
CPU_FILL(&kernel_pmap->pm_active); /* don't allow deactivation */
TAILQ_INIT(&kernel_pmap->pm_pvchunk);
OpenPOWER on IntegriCloud