Date: Sun, 22 Apr 2007 07:02:27 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 118566 for review Message-ID: <200704220702.l3M72RP3040991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118566 Change 118566 by mjacob@mjexp on 2007/04/22 07:01:29 Missed a hanging chad from previous rip out of older locking. Affected files ... .. //depot/projects/mjexp/sys/dev/isp/isp_freebsd.c#19 edit Differences ... ==== //depot/projects/mjexp/sys/dev/isp/isp_freebsd.c#19 (text+ko) ==== @@ -3517,13 +3517,8 @@ isp->isp_osinfo.mbox_sleep_ok = 0; isp->isp_osinfo.mbox_sleeping = 1; for (olim = 0; olim < max; olim++) { -#if __FreeBSD_version < 500000 || !defined(ISP_SMPLOCK) tsleep(&isp->isp_mbxworkp, PRIBIO, "ispmbx_sleep", isp_mstohz(ms)); -#else - msleep(&isp->isp_mbxworkp, &isp->isp_mtx, PRIBIO, - "ispmbx_sleep", isp_mstohz(ms)); -#endif if (isp->isp_osinfo.mboxcmd_done) { break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704220702.l3M72RP3040991>