Delete an #if block that dates from rev 1.1 and hasn't been enabled
authorguenther <guenther@openbsd.org>
Tue, 7 Dec 2021 17:50:44 +0000 (17:50 +0000)
committerguenther <guenther@openbsd.org>
Tue, 7 Dec 2021 17:50:44 +0000 (17:50 +0000)
in those 20 years.  We're unlikely to take the macppc pmap in the
direction where it would apply.

ok kettenis@

sys/arch/macppc/macppc/machdep.c

index 2014c70..b436bf8 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: machdep.c,v 1.194 2021/10/06 15:46:03 claudio Exp $   */
+/*     $OpenBSD: machdep.c,v 1.195 2021/12/07 17:50:44 guenther Exp $  */
 /*     $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $   */
 
 /*
@@ -489,12 +489,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip,
        tf->fixreg[5] = (int)&fp->sf_sc;
        tf->srr0 = p->p_p->ps_sigcode;
 
-#if WHEN_WE_ONLY_FLUSH_DATA_WHEN_DOING_PMAP_ENTER
-       pmap_extract(vm_map_pmap(&p->p_vmspace->vm_map),tf->srr0, &pa);
-       syncicache(pa, (p->p_p->ps_emul->e_esigcode -
-           p->p_p->ps_emul->e_sigcode));
-#endif
-
        return 0;
 }