Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/mac68k Only handle SIR_SERIAL if NZSC > 0.



details:   https://anonhg.NetBSD.org/src/rev/46540219ecb6
branches:  trunk
changeset: 467680:46540219ecb6
user:      briggs <briggs%NetBSD.org@localhost>
date:      Sat Mar 27 05:21:20 1999 +0000

description:
Only handle SIR_SERIAL if NZSC > 0.

diffstat:

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

diffs (24 lines):

diff -r efd7366336a9 -r 46540219ecb6 sys/arch/mac68k/mac68k/trap.c
--- a/sys/arch/mac68k/mac68k/trap.c     Sat Mar 27 05:19:34 1999 +0000
+++ b/sys/arch/mac68k/mac68k/trap.c     Sat Mar 27 05:21:20 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.71 1999/03/26 23:41:31 mycroft Exp $        */
+/*     $NetBSD: trap.c,v 1.72 1999/03/27 05:21:20 briggs Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -511,12 +511,14 @@
 
        case T_SSIR:            /* Software interrupt */
        case T_SSIR|T_USER:
+#if NZSC > 0
                if (ssir & SIR_SERIAL) {
                        void zssoft __P((int));
                        siroff(SIR_SERIAL);
                        uvmexp.softs++;
                        zssoft(0);
                }
+#endif
                if (ssir & SIR_NET) {
                        void netintr __P((void));
                        siroff(SIR_NET);



Home | Main Index | Thread Index | Old Index