Remove bogus (and pointless) pmap_activate(9) call.
authorkettenis <kettenis@openbsd.org>
Wed, 3 Mar 2021 21:47:27 +0000 (21:47 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 3 Mar 2021 21:47:27 +0000 (21:47 +0000)
ok drahn@

sys/arch/arm64/arm64/vm_machdep.c

index 4f616ed..93d3655 100644 (file)
@@ -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)