diff options
author | marcel <marcel@FreeBSD.org> | 2002-05-02 05:35:02 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-05-02 05:35:02 +0000 |
commit | d4f20210065a9de8d9754ce2ec811f6254f0fd2c (patch) | |
tree | 42253d85b077ec301c08e818829e28ce0a615174 /sys | |
parent | 49c7cad8472baf39e14f55015371110c6923ec1c (diff) | |
download | FreeBSD-src-d4f20210065a9de8d9754ce2ec811f6254f0fd2c.zip FreeBSD-src-d4f20210065a9de8d9754ce2ec811f6254f0fd2c.tar.gz |
In pmap_pinit0, remove duplicate initialization.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index 22e457f..734d8c5 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -810,19 +810,8 @@ pmap_swapin_thread(struct thread *td) void pmap_pinit0(struct pmap *pmap) { - int i; - - /* - * kernel_pmap is the same as any other pmap. - */ + /* kernel_pmap is the same as any other pmap. */ pmap_pinit(pmap); - pmap->pm_flags = 0; - for (i = 0; i < 5; i++) - pmap->pm_rid[i] = 0; - pmap->pm_ptphint = NULL; - pmap->pm_active = 0; - TAILQ_INIT(&pmap->pm_pvlist); - bzero(&pmap->pm_stats, sizeof pmap->pm_stats); } /* |