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 Back out last change. Clearing PSL...



details:   https://anonhg.NetBSD.org/src/rev/2989508929b8
branches:  trunk
changeset: 339224:2989508929b8
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 06 05:25:29 2015 +0000

description:
Back out last change.  Clearing PSL_FP/PSL_VEC is handled by child_return.

diffstat:

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

diffs (27 lines):

diff -r ba9a3c4be61c -r 2989508929b8 sys/arch/powerpc/powerpc/vm_machdep.c
--- a/sys/arch/powerpc/powerpc/vm_machdep.c     Mon Jul 06 05:20:50 2015 +0000
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c     Mon Jul 06 05:25:29 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.99 2015/07/06 05:03:56 matt Exp $     */
+/*     $NetBSD: vm_machdep.c,v 1.100 2015/07/06 05:25:29 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.99 2015/07/06 05:03:56 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.100 2015/07/06 05:25:29 matt Exp $");
 
 #include "opt_altivec.h"
 #include "opt_multiprocessor.h"
@@ -107,8 +107,6 @@
         * Setup the trap frame for the new process
         */
        *l2->l_md.md_utf = *l1->l_md.md_utf;
-       l2->l_md.md_utf->tf_srr1 &= ~(PSL_FP|PSL_VEC);
-       l2->l_md.md_flags &= ~PSL_VEC;
 
        /*
         * If specified, give the child a different stack.  Make sure to



Home | Main Index | Thread Index | Old Index