Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/arm26 Don't call Debugger() unless the kernel...



details:   https://anonhg.NetBSD.org/src/rev/53cd946ce7c3
branches:  trunk
changeset: 516306:53cd946ce7c3
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sat Oct 20 22:15:02 2001 +0000

description:
Don't call Debugger() unless the kernel has DDB.

diffstat:

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

diffs (28 lines):

diff -r 17716380ab9d -r 53cd946ce7c3 sys/arch/arm26/arm26/irq.c
--- a/sys/arch/arm26/arm26/irq.c        Sat Oct 20 21:52:24 2001 +0000
+++ b/sys/arch/arm26/arm26/irq.c        Sat Oct 20 22:15:02 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: irq.c,v 1.22 2001/09/10 02:21:42 reinoud Exp $ */
+/* $NetBSD: irq.c,v 1.23 2001/10/20 22:15:02 bjh21 Exp $ */
 
 /*-
  * Copyright (c) 2000, 2001 Ben Harris
@@ -33,7 +33,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: irq.c,v 1.22 2001/09/10 02:21:42 reinoud Exp $");
+__RCSID("$NetBSD: irq.c,v 1.23 2001/10/20 22:15:02 bjh21 Exp $");
 
 #include <sys/device.h>
 #include <sys/kernel.h> /* for cold */
@@ -187,7 +187,9 @@
        if (__predict_false(stray)) {
                log(LOG_WARNING, "Stray IRQ, status = 0x%x, spl = %d, "
                    "mask = 0x%x\n", status, s, irqmask[s]);
+#ifdef DDB
                Debugger();
+#endif
        }
 #if NFIQ > 0
 handled:



Home | Main Index | Thread Index | Old Index