Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex Mark interrupt as MPSAFE.



details:   https://anonhg.NetBSD.org/src/rev/263ffe9cadd0
branches:  trunk
changeset: 328184:263ffe9cadd0
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 28 21:57:22 2014 +0000

description:
Mark interrupt as MPSAFE.

diffstat:

 sys/arch/arm/cortex/a9tmr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0f2dbc3ed43d -r 263ffe9cadd0 sys/arch/arm/cortex/a9tmr.c
--- a/sys/arch/arm/cortex/a9tmr.c       Fri Mar 28 21:56:45 2014 +0000
+++ b/sys/arch/arm/cortex/a9tmr.c       Fri Mar 28 21:57:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: a9tmr.c,v 1.6 2013/06/20 05:30:21 matt Exp $   */
+/*     $NetBSD: a9tmr.c,v 1.7 2014/03/28 21:57:22 matt Exp $   */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.6 2013/06/20 05:30:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.7 2014/03/28 21:57:22 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -146,7 +146,7 @@
            TMR_WDOG_BASE, TMR_WDOG_SIZE, &sc->sc_wdog_memh);
 
        sc->sc_global_ih = intr_establish(IRQ_A9TMR_PPI_GTIMER, IPL_CLOCK,
-           IST_EDGE, clockhandler, NULL);
+           IST_EDGE | IST_MPSAFE, clockhandler, NULL);
        if (sc->sc_global_ih == NULL)
                panic("%s: unable to register timer interrupt", __func__);
        aprint_normal_dev(sc->sc_dev, "interrupting on irq %d\n",



Home | Main Index | Thread Index | Old Index