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 Call the correct ipi handlers for IPI_...



details:   https://anonhg.NetBSD.org/src/rev/9f5930a8af1e
branches:  trunk
changeset: 339634:9f5930a8af1e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Aug 01 14:18:00 2015 +0000

description:
Call the correct ipi handlers for IPI_AST and IPI_KPREEMPT

diffstat:

 sys/arch/arm/broadcom/bcm2835_intr.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 6e421b789a18 -r 9f5930a8af1e sys/arch/arm/broadcom/bcm2835_intr.c
--- a/sys/arch/arm/broadcom/bcm2835_intr.c      Sat Aug 01 13:42:32 2015 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_intr.c      Sat Aug 01 14:18:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_intr.c,v 1.10 2015/07/25 08:43:41 skrll Exp $  */
+/*     $NetBSD: bcm2835_intr.c,v 1.11 2015/08/01 14:18:00 skrll Exp $  */
 
 /*-
  * Copyright (c) 2012, 2015 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.10 2015/07/25 08:43:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.11 2015/08/01 14:18:00 skrll Exp $");
 
 #define _INTR_PRIVATE
 
@@ -492,12 +492,16 @@
                const u_int ipi = bit - 1;
                switch (ipi) {
                case IPI_AST:
+                       pic_ipi_ast(priv);
+                       break;
                case IPI_NOP:
+                       pic_ipi_nop(priv);
+                       break;
 #ifdef __HAVE_PREEMPTION
                case IPI_KPREEMPT:
+                       pic_ipi_kpreempt(priv);
+                       break;
 #endif
-                       pic_ipi_nop(priv);
-                       break;
                case IPI_XCALL:
                        pic_ipi_xcall(priv);
                        break;



Home | Main Index | Thread Index | Old Index