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 Make it compile again if for some confi...



details:   https://anonhg.NetBSD.org/src/rev/5b1764f24f3f
branches:  trunk
changeset: 514740:5b1764f24f3f
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Mon Sep 10 02:21:42 2001 +0000

description:
Make it compile again if for some configuration there are no FIQ's ... It
complained about the unused label.

diffstat:

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

diffs (29 lines):

diff -r 01448ed8f9f9 -r 5b1764f24f3f sys/arch/arm26/arm26/irq.c
--- a/sys/arch/arm26/arm26/irq.c        Mon Sep 10 02:20:19 2001 +0000
+++ b/sys/arch/arm26/arm26/irq.c        Mon Sep 10 02:21:42 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: irq.c,v 1.21 2001/08/26 12:25:38 bjh21 Exp $ */
+/* $NetBSD: irq.c,v 1.22 2001/09/10 02:21:42 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2000, 2001 Ben Harris
@@ -33,7 +33,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: irq.c,v 1.21 2001/08/26 12:25:38 bjh21 Exp $");
+__RCSID("$NetBSD: irq.c,v 1.22 2001/09/10 02:21:42 reinoud Exp $");
 
 #include <sys/device.h>
 #include <sys/kernel.h> /* for cold */
@@ -189,7 +189,10 @@
                    "mask = 0x%x\n", status, s, irqmask[s]);
                Debugger();
        }
+#if NFIQ > 0
 handled:
+#endif /* NFIQ > 0 */
+
 #if 0
        printf(" handled\n");
 #endif



Home | Main Index | Thread Index | Old Index