Remove unused fields from the pmap.

This commit is contained in:
Alan Cox 2004-07-16 03:42:45 +00:00
parent 0a9458250a
commit 6fe30ff3f2
2 changed files with 0 additions and 4 deletions

View File

@ -698,10 +698,8 @@ pmap_pinit(struct pmap *pmap)
{
int i;
pmap->pm_flags = 0;
for (i = 0; i < 5; i++)
pmap->pm_rid[i] = pmap_allocate_rid();
pmap->pm_ptphint = NULL;
pmap->pm_active = 0;
TAILQ_INIT(&pmap->pm_pvlist);
bzero(&pmap->pm_stats, sizeof pmap->pm_stats);

View File

@ -72,10 +72,8 @@ struct md_page {
struct pmap {
TAILQ_HEAD(,pv_entry) pm_pvlist; /* list of mappings in pmap */
u_int32_t pm_rid[5]; /* base RID for pmap */
int pm_flags; /* pmap flags */
int pm_active; /* active flag */
struct pmap_statistics pm_stats; /* pmap statistics */
struct vm_page *pm_ptphint; /* pmap ptp hint */
};
typedef struct pmap *pmap_t;