diff options
author | cognet <cognet@FreeBSD.org> | 2005-06-10 13:31:30 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-06-10 13:31:30 +0000 |
commit | 4bd70d8bcae32aebc93d0f733f92256a2ffaa33d (patch) | |
tree | 7c1b665c10e6b5c2d918afd023fb4bdbe85b5f69 /sys/arm | |
parent | 8386a8457c7bb9838a5e984eac959cbfd2ab5f1a (diff) | |
download | FreeBSD-src-4bd70d8bcae32aebc93d0f733f92256a2ffaa33d.zip FreeBSD-src-4bd70d8bcae32aebc93d0f733f92256a2ffaa33d.tar.gz |
Remove the last use of pmap_initialized.
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/arm/pmap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index e98e2ba..28e5e9f 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -270,8 +270,6 @@ union pmap_cache_state *pmap_cache_state; LIST_HEAD(pmaplist, pmap); struct pmaplist allpmaps; -static boolean_t pmap_initialized = FALSE; /* Has pmap_init completed? */ - /* static pt_entry_t *msgbufmap;*/ struct msgbuf *msgbufp = 0; @@ -446,7 +444,7 @@ pmap_init_l1(struct l1_ttable *l1, pd_entry_t *l1pt) /* * Copy the kernel's L1 entries to each new L1. */ - if (pmap_initialized) + if (l1pt != pmap_kernel()->pm_l1->l1_kva) memcpy(l1pt, pmap_kernel()->pm_l1->l1_kva, L1_TABLE_SIZE); if ((l1->l1_physaddr = pmap_extract(pmap_kernel(), (vm_offset_t)l1pt)) == 0) @@ -1958,7 +1956,6 @@ pmap_init(void) /* * Now it is safe to enable pv_table recording. */ - pmap_initialized = TRUE; PDEBUG(1, printf("pmap_init: done!\n")); } |