diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-13 15:11:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-03-13 15:11:42 +0000 |
commit | 31fe3c81e73a2effebf80a9646a1cdac567aaa3f (patch) | |
tree | 95cbc1a4ff907b59ff61e44453ba02d0f6f3e859 | |
parent | 0cee1c56bc8b2c2fa494d2b1823c73795e87ff39 (diff) |
tlb shootdown in pmap_change_attrs was shooting the wrong va.
"yes man" mickey@ (I think that meant 'ok').
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 6b30caaa9e3..234f62ae5fc 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.97 2007/02/20 21:15:01 tom Exp $ */ +/* $OpenBSD: pmap.c,v 1.98 2007/03/13 15:11:41 art Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -2847,8 +2847,8 @@ pmap_change_attrs(struct vm_page *pg, int setbits, int clearbits) if (ptes[atop(pve->pv_va)] != npte) { opte = i386_atomic_testset_ul( &ptes[atop(pve->pv_va)], npte); - pmap_tlb_shootdown(pve->pv_pmap, - atop(pve->pv_va), opte, &cpumask); + pmap_tlb_shootdown(pve->pv_pmap, pve->pv_va, + opte, &cpumask); } pmap_unmap_ptes(pve->pv_pmap); /* unlocks pmap */ } |