From 1fa140f4452864e57e6af67de89fa28a0c66fc70 Mon Sep 17 00:00:00 2001 From: kettenis Date: Wed, 3 Mar 2021 21:47:27 +0000 Subject: [PATCH] Remove bogus (and pointless) pmap_activate(9) call. ok drahn@ --- sys/arch/arm64/arm64/vm_machdep.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/arch/arm64/arm64/vm_machdep.c b/sys/arch/arm64/arm64/vm_machdep.c index 4f616ed2d89..93d36559e1d 100644 --- a/sys/arch/arm64/arm64/vm_machdep.c +++ b/sys/arch/arm64/arm64/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.6 2020/03/19 16:35:39 visa Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.7 2021/03/03 21:47:27 kettenis Exp $ */ /* $NetBSD: vm_machdep.c,v 1.1 2003/04/26 18:39:33 fvdl Exp $ */ /*- @@ -79,8 +79,6 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb, *pcb = p1->p_addr->u_pcb; pcb->pcb_fpcpu = NULL; - pmap_activate(p2); - tf = (struct trapframe *)((u_long)p2->p_addr + USPACE - sizeof(struct trapframe) -- 2.20.1