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 Do not bother to set PSL_SE in l_md...



details:   https://anonhg.NetBSD.org/src/rev/4924a7834781
branches:  trunk
changeset: 372534:4924a7834781
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 05 16:03:50 2022 +0000

description:
Do not bother to set PSL_SE in l_md.md_flags - it is not checked anywhere.

diffstat:

 sys/arch/powerpc/powerpc/process_machdep.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 33ebd0238763 -r 4924a7834781 sys/arch/powerpc/powerpc/process_machdep.c
--- a/sys/arch/powerpc/powerpc/process_machdep.c        Mon Dec 05 16:01:03 2022 +0000
+++ b/sys/arch/powerpc/powerpc/process_machdep.c        Mon Dec 05 16:03:50 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process_machdep.c,v 1.42 2021/03/06 08:08:19 rin Exp $ */
+/*     $NetBSD: process_machdep.c,v 1.43 2022/12/05 16:03:50 martin Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.42 2021/03/06 08:08:19 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.43 2022/12/05 16:03:50 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altivec.h"
@@ -138,10 +138,8 @@
        
        if (sstep) {
                tf->tf_srr1 |= PSL_SE;
-               l->l_md.md_flags |= PSL_SE;
        } else {
                tf->tf_srr1 &= ~PSL_SE;
-               l->l_md.md_flags &= ~PSL_SE;
        }
        return 0;
 #else



Home | Main Index | Thread Index | Old Index