Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 15:06:46 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 36143 for review
Message-ID:  <200308142206.h7EM6khh084838@repoman.freebsd.org>

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

Change 36143 by sam@sam_ebb on 2003/08/14 15:06:12

	enable MPSAFE callouts

Affected files ...

.. //depot/projects/netperf/sys/dev/ath/if_ath.c#7 edit

Differences ...

==== //depot/projects/netperf/sys/dev/ath/if_ath.c#7 (text+ko) ====

@@ -226,8 +226,8 @@
 		if_printf(ifp, "failed to allocate descriptors: %d\n", error);
 		goto bad;
 	}
-	callout_init(&sc->sc_scan_ch, 0);
-	callout_init(&sc->sc_cal_ch, 0);
+	callout_init(&sc->sc_scan_ch, CALLOUT_MPSAFE);
+	callout_init(&sc->sc_cal_ch, CALLOUT_MPSAFE);
 
 	mtx_init(&sc->sc_txbuflock,
 		device_get_nameunit(sc->sc_dev), "xmit buf q", MTX_DEF);



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