Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 Clear MDP_SSTEP in setregs().



details:   https://anonhg.NetBSD.org/src/rev/d55be3093f45
branches:  trunk
changeset: 761422:d55be3093f45
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Jan 26 23:29:16 2011 +0000

description:
Clear MDP_SSTEP in setregs().

diffstat:

 sys/arch/sh3/sh3/sh3_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8ff9a28d3932 -r d55be3093f45 sys/arch/sh3/sh3/sh3_machdep.c
--- a/sys/arch/sh3/sh3/sh3_machdep.c    Wed Jan 26 23:26:37 2011 +0000
+++ b/sys/arch/sh3/sh3/sh3_machdep.c    Wed Jan 26 23:29:16 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sh3_machdep.c,v 1.88 2011/01/14 02:06:31 rmind Exp $   */
+/*     $NetBSD: sh3_machdep.c,v 1.89 2011/01/26 23:29:16 uwe Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.88 2011/01/14 02:06:31 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.89 2011/01/26 23:29:16 uwe Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_memsize.h"
@@ -511,7 +511,7 @@
 {
        struct trapframe *tf;
 
-       l->l_md.md_flags &= ~MDP_USEDFPU;
+       l->l_md.md_flags &= ~(MDP_USEDFPU | MDP_SSTEP);
 
        tf = l->l_md.md_regs;
 



Home | Main Index | Thread Index | Old Index