Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 17:26:34 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101860 for review
Message-ID:  <200607181726.k6IHQYGh096077@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101860

Change 101860 by piso@piso_newluxor on 2006/07/18 17:26:05

	Mark it MPSAFE else Giant will be grabbed 
	in kern_intr.c::ithread_execute_handlers().

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/em/if_em.c#8 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/em/if_em.c#8 (text+ko) ====

@@ -1986,7 +1986,7 @@
 	 */
 	TASK_INIT(&sc->link_task, 0, em_handle_link, sc);
 	if ((error = bus_setup_intr(dev, sc->res_interrupt,
-	    INTR_TYPE_NET, em_intr_fast, em_handle_rxtx, sc,
+	    INTR_TYPE_NET | INTR_MPSAFE, em_intr_fast, em_handle_rxtx, sc,
 	    &sc->int_handler_tag)) != 0) {
 		device_printf(dev, "Failed to register fast interrupt "
 			    "handler: %d\n", error);



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