Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/cobalt Reenable hard interrupts before proce...



details:   https://anonhg.NetBSD.org/src/rev/d0f55469bbb1
branches:  trunk
changeset: 487902:d0f55469bbb1
user:      soren <soren%NetBSD.org@localhost>
date:      Wed Jun 14 16:40:58 2000 +0000

description:
Reenable hard interrupts before processing soft interrupts.

diffstat:

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

diffs (25 lines):

diff -r c62d6a56eb30 -r d0f55469bbb1 sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c  Wed Jun 14 16:32:22 2000 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c  Wed Jun 14 16:40:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.16 2000/05/27 02:16:25 soren Exp $       */
+/*     $NetBSD: machdep.c,v 1.17 2000/06/14 16:40:58 soren Exp $       */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -525,6 +525,8 @@
                cause &= ~MIPS_INT_MASK_5;
        }
 
+       _splset((status & ~cause & MIPS_HARD_INT_MASK) | MIPS_SR_INT_IE);
+
        /* 'softnet' interrupt */
        if (ipending & MIPS_SOFT_INT_MASK_1) {
                clearsoftnet();
@@ -539,6 +541,4 @@
                intrcnt[SOFTCLOCK_INTR]++;
                softclock();
        }
-
-       _splset((status & ~cause & MIPS_HARD_INT_MASK) | MIPS_SR_INT_IE);
 }



Home | Main Index | Thread Index | Old Index