From: mlarkin Date: Tue, 21 Apr 2015 18:47:57 +0000 (+0000) Subject: Remove an extra lcr3 that snuck into pmap_switch during yesterday's X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6c482104e1653cab8f2cab7d72ccce2166209181;p=openbsd Remove an extra lcr3 that snuck into pmap_switch during yesterday's cleanup, responsible for various reaper panics pointed out on bugs@ this morning. ok deraadt@ --- diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index feee35d0bde..1fd5a1344be 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.176 2015/04/21 04:40:40 mlarkin Exp $ */ +/* $OpenBSD: pmap.c,v 1.177 2015/04/21 18:47:57 mlarkin Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -1536,7 +1536,6 @@ pmap_switch(struct proc *o, struct proc *p) curcpu()->ci_curpmap = pmap; lcr3(pmap->pm_pdirpa); } - lcr3(pmap->pm_pdirpa); /* * Set the correct descriptor value (i.e. with the