diff options
| author | Alan Cox <alc@FreeBSD.org> | 2009-05-23 07:58:56 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2009-05-23 07:58:56 +0000 |
| commit | e420c0cab754ba7cf54134e7499b76b85ecc253a (patch) | |
| tree | 1c8e6d1f19d81bdf3fc6fb5a95e4662b170de397 /sys/mips | |
| parent | f03138a253160c4c9485dff15a7b251acaa34d4e (diff) | |
Notes
Diffstat (limited to 'sys/mips')
| -rw-r--r-- | sys/mips/mips/pmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index 115825c9738d..2188c3695615 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -1849,6 +1849,8 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t fault_type, vm_page_t m, vm_pr pmap->pm_stats.wired_count++; validate: + if ((access & VM_PROT_WRITE) != 0) + m->md.pv_flags |= PV_TABLE_MOD | PV_TABLE_REF; rw = init_pte_prot(va, m, prot); #ifdef PMAP_DEBUG |
