Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 03:54:15 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290535 - head/sys/contrib/vchiq/interface/vchiq_arm
Message-ID:  <201511080354.tA83sFnX003595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511080354.tA83sFnX003595>