Garbage-collect pm_pdchanged; it's not used by anything.
This commit is contained in:
parent
61567b54de
commit
3e7eb6c80a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.48 1997/11/19 11:11:29 mycroft Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.49 1998/01/06 07:16:06 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994, 1995, 1997 Charles M. Hannum. All rights reserved.
|
||||
|
@ -728,7 +728,6 @@ pmap_activate(p)
|
|||
pcb->pcb_cr3 = pmap_extract(pmap_kernel(), (vm_offset_t)pmap->pm_pdir);
|
||||
if (p == curproc)
|
||||
lcr3(pcb->pcb_cr3);
|
||||
pmap->pm_pdchanged = FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.h,v 1.30 1998/01/03 01:13:05 thorpej Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.31 1998/01/06 07:16:08 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
|
||||
|
@ -119,7 +119,6 @@ void pmap_changebit __P((vm_offset_t, int, int));
|
|||
*/
|
||||
typedef struct pmap {
|
||||
pd_entry_t *pm_pdir; /* KVA of page directory */
|
||||
boolean_t pm_pdchanged; /* pdir changed */
|
||||
short pm_dref; /* page directory ref count */
|
||||
short pm_count; /* pmap reference count */
|
||||
simple_lock_data_t pm_lock; /* lock on pmap */
|
||||
|
|
Loading…
Reference in New Issue