mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
In pmap_pinit0, remove duplicate initialization.
This commit is contained in:
parent
b905ae4ef9
commit
2a688cec16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95920
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user