svn commit: r290535 - head/sys/contrib/vchiq/interface/vchiq_arm

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sun Nov 8 03:54:16 UTC 2015


Author: gonzo
Date: Sun Nov  8 03:54:15 2015
New Revision: 290535
URL: https://svnweb.freebsd.org/changeset/base/290535

Log:
  vchiq interrupt is MP safe, add respective flag to bus_setup_intr

Modified:
  head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c

Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
==============================================================================
--- head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	Sun Nov  8 03:53:31 2015	(r290534)
+++ head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	Sun Nov  8 03:54:15 2015	(r290535)
@@ -164,7 +164,7 @@ bcm_vchiq_attach(device_t dev)
 	vchiq_core_initialize();
 
 	/* Setup and enable the timer */
-	if (bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC,
+	if (bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
 			NULL, bcm_vchiq_intr, sc,
 			&sc->intr_hl) != 0) {
 		bus_release_resource(dev, SYS_RES_IRQ, rid,


More information about the svn-src-head mailing list