Module Name:    src
Committed By:   skrll
Date:           Fri Feb 12 16:43:38 UTC 2016

Modified Files:
        src/sys/arch/arm/allwinner [nick-nhusb]: awin_usb.c

Log Message:
Mark ehci_intr as IST_MPSAFE when establishing the interrupt handler.


To generate a diff of this commit:
cvs rdiff -u -r1.17.2.5 -r1.17.2.6 src/sys/arch/arm/allwinner/awin_usb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/allwinner/awin_usb.c
diff -u src/sys/arch/arm/allwinner/awin_usb.c:1.17.2.5 src/sys/arch/arm/allwinner/awin_usb.c:1.17.2.6
--- src/sys/arch/arm/allwinner/awin_usb.c:1.17.2.5	Fri Feb 12 16:27:42 2016
+++ src/sys/arch/arm/allwinner/awin_usb.c	Fri Feb 12 16:43:38 2016
@@ -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 @@ ehci_awinusb_attach(device_t parent, dev
 	}
 
 	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);

Reply via email to