Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/omap PR 50755 David Binderman: assert about tab...



details:   https://anonhg.NetBSD.org/src/rev/4093a5e15554
branches:  trunk
changeset: 815646:4093a5e15554
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue May 31 02:26:00 2016 +0000

description:
PR 50755 David Binderman: assert about table entries only when they exist.

diffstat:

 sys/arch/arm/omap/omap2430_intr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r cd1f6556bd5c -r 4093a5e15554 sys/arch/arm/omap/omap2430_intr.c
--- a/sys/arch/arm/omap/omap2430_intr.c Tue May 31 02:17:18 2016 +0000
+++ b/sys/arch/arm/omap/omap2430_intr.c Tue May 31 02:26:00 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: omap2430_intr.c,v 1.6 2011/07/01 20:30:21 dyoung Exp $ */
+/*     $NetBSD: omap2430_intr.c,v 1.7 2016/05/31 02:26:00 dholland Exp $       */
 /*
  * Define the SDP2430 specific information and then include the generic OMAP
  * interrupt header.
@@ -35,7 +35,7 @@
 #include "opt_omap.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2430_intr.c,v 1.6 2011/07/01 20:30:21 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2430_intr.c,v 1.7 2016/05/31 02:26:00 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/evcnt.h>
@@ -455,7 +455,9 @@
        KASSERT((intrgroups[4].ig_pending_irqs & intrgroups[4].ig_irqsbyipl[ipl]) == 0);
        KASSERT((intrgroups[5].ig_pending_irqs & intrgroups[5].ig_irqsbyipl[ipl]) == 0);
        KASSERT((intrgroups[6].ig_pending_irqs & intrgroups[6].ig_irqsbyipl[ipl]) == 0);
+#ifdef OMAP_2430
        KASSERT((intrgroups[7].ig_pending_irqs & intrgroups[7].ig_irqsbyipl[ipl]) == 0);
+#endif
        if (frame == NULL)
                last_delivered_ipl = saved_ipl;
 }



Home | Main Index | Thread Index | Old Index