Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/arch/arm/allwinner Mark ehci_intr as IST_MPSAFE whe...



details:   https://anonhg.NetBSD.org/src/rev/bbe87bbcc7b9
branches:  nick-nhusb
changeset: 334394:bbe87bbcc7b9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Feb 12 16:43:38 2016 +0000

description:
Mark ehci_intr as IST_MPSAFE when establishing the interrupt handler.

diffstat:

 sys/arch/arm/allwinner/awin_usb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 668b7876f012 -r bbe87bbcc7b9 sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Fri Feb 12 16:27:42 2016 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Fri Feb 12 16:43:38 2016 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.17.2.5 2016/02/12 16:27:42 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.17.2.6 2016/02/12 16:43:38 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -255,7 +255,7 @@
        }
 
        usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_VM,
-           IST_LEVEL, ehci_intr, sc);
+           IST_LEVEL | IST_MPSAFE, ehci_intr, sc);
        if (usbsc->usbsc_ehci_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %d\n",
                     irq);



Home | Main Index | Thread Index | Old Index