Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Fix previous.



details:   https://anonhg.NetBSD.org/src/rev/7dc130d9bdf8
branches:  trunk
changeset: 755298:7dc130d9bdf8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 31 20:19:33 2010 +0000

description:
Fix previous.

diffstat:

 sys/arch/hppa/hppa/trap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r fd67b0462320 -r 7dc130d9bdf8 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Mon May 31 20:10:56 2010 +0000
+++ b/sys/arch/hppa/hppa/trap.c Mon May 31 20:19:33 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.91 2010/05/31 19:40:21 skrll Exp $  */
+/*     $NetBSD: trap.c,v 1.92 2010/05/31 20:19:33 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.91 2010/05/31 19:40:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.92 2010/05/31 20:19:33 skrll Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -1053,6 +1053,7 @@
 
        /* We're continuing... */
        if (sstep == 0) {
+               tf->tf_ipsw &= ~PSW_T;
                return 0;
        }
 
@@ -1080,7 +1081,7 @@
                return error;
 
        if ((tf->tf_iioq_tail & ~PAGE_MASK) == SYSCALLGATE)
-               tf->tf_ipsw &= PSW_T;
+               tf->tf_ipsw &= ~PSW_T;
        else
                tf->tf_ipsw |= PSW_T;
 



Home | Main Index | Thread Index | Old Index