From 6c482104e1653cab8f2cab7d72ccce2166209181 Mon Sep 17 00:00:00 2001 From: mlarkin Date: Tue, 21 Apr 2015 18:47:57 +0000 Subject: [PATCH] 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@ --- sys/arch/i386/i386/pmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1