Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc cpu_ast(): no need to call userret(...



details:   https://anonhg.NetBSD.org/src/rev/ee5f21a42042
branches:  trunk
changeset: 744927:ee5f21a42042
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Feb 17 21:49:27 2020 +0000

description:
cpu_ast(): no need to call userret(), as the caller does it for us. From rin@.

diffstat:

 sys/arch/powerpc/powerpc/powerpc_machdep.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r d60fa41c8f61 -r ee5f21a42042 sys/arch/powerpc/powerpc/powerpc_machdep.c
--- a/sys/arch/powerpc/powerpc/powerpc_machdep.c        Mon Feb 17 21:47:33 2020 +0000
+++ b/sys/arch/powerpc/powerpc/powerpc_machdep.c        Mon Feb 17 21:49:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: powerpc_machdep.c,v 1.75 2019/12/05 20:55:24 ad Exp $  */
+/*     $NetBSD: powerpc_machdep.c,v 1.76 2020/02/17 21:49:27 ad Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.75 2019/12/05 20:55:24 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.76 2020/02/17 21:49:27 ad Exp $");
 
 #include "opt_altivec.h"
 #include "opt_ddb.h"
@@ -373,9 +373,6 @@
 cpu_ast(struct lwp *l, struct cpu_info *ci)
 {
        l->l_md.md_astpending = 0;      /* we are about to do it */
-       __insn_barrier();
-       userret(l, l->l_md.md_utf);
-
        if (l->l_pflag & LP_OWEUPC) {
                l->l_pflag &= ~LP_OWEUPC;
                ADDUPROF(l);



Home | Main Index | Thread Index | Old Index