Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom Appease a KASSERT - will be remove whe...



details:   https://anonhg.NetBSD.org/src/rev/19ed58737f2f
branches:  trunk
changeset: 336543:19ed58737f2f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Mar 05 14:27:25 2015 +0000

description:
Appease a KASSERT - will be remove when MULTIPROCESSOR RPI2 is fixed.

diffstat:

 sys/arch/arm/broadcom/bcm2835_intr.c |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r c27a392f0e0b -r 19ed58737f2f sys/arch/arm/broadcom/bcm2835_intr.c
--- a/sys/arch/arm/broadcom/bcm2835_intr.c      Thu Mar 05 14:02:55 2015 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_intr.c      Thu Mar 05 14:27:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_intr.c,v 1.6 2015/03/04 17:02:17 skrll Exp $   */
+/*     $NetBSD: bcm2835_intr.c,v 1.7 2015/03/05 14:27:25 skrll Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.6 2015/03/04 17:02:17 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.7 2015/03/05 14:27:25 skrll Exp $");
 
 #define _INTR_PRIVATE
 
@@ -76,6 +76,12 @@
 #endif
 #endif
 
+#ifdef MULTIPROCESSOR
+static void
+bcm2835_dummy(struct pic_softc *pic, const kcpuset_t *kcp, u_long ipi)
+{
+}
+#endif
 
 static int  bcm2835_icu_match(device_t, cfdata_t, void *);
 static void bcm2835_icu_attach(device_t, device_t, void *);
@@ -86,6 +92,9 @@
        .pic_find_pending_irqs = bcm2835_pic_find_pending_irqs,
        .pic_establish_irq = bcm2835_pic_establish_irq,
        .pic_source_name = bcm2835_pic_source_name,
+#if defined(MULTIPROCESSOR)
+       .pic_ipi_send = bcm2835_dummy,
+#endif
 };
 
 struct pic_softc bcm2835_pic = {



Home | Main Index | Thread Index | Old Index