diff options
author | 2005-07-12 21:12:03 +0000 | |
---|---|---|
committer | 2005-07-12 21:12:03 +0000 | |
commit | 9597031e1b372feb703658b93ef2d32998f66f9c (patch) | |
tree | be2baa5dbddce15f8e9952401de3edbf94b74059 | |
parent | write ds1 ctrl mcode where we wanted the ds1e varient (diff) | |
download | wireguard-openbsd-9597031e1b372feb703658b93ef2d32998f66f9c.tar.xz wireguard-openbsd-9597031e1b372feb703658b93ef2d32998f66f9c.zip |
call pmap_apte_flush() with the current pmap, not the one to be mapped.
ok art@
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 7bbfe9db7d4..f8f4ca15cca 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.81 2005/05/24 21:11:46 tedu Exp $ */ +/* $OpenBSD: pmap.c,v 1.82 2005/07/12 21:12:03 hshoexer Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -650,7 +650,7 @@ pmap_map_ptes(pmap) if (!pmap_valid_entry(opde) || (opde & PG_FRAME) != pmap->pm_pdirpa) { *APDP_PDE = (pd_entry_t) (pmap->pm_pdirpa | PG_RW | PG_V); if (pmap_valid_entry(opde)) - pmap_apte_flush(pmap); + pmap_apte_flush(curpcb->pcb_pmap); } return(APTE_BASE); } |