Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2009 16:26:31 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 168244 for review
Message-ID:  <200909061626.n86GQVtN089284@repoman.freebsd.org>

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

Change 168244 by mav@mav_mavbook on 2009/09/06 16:26:24

	Remove unnssede CAM_SIM_MPSAFE check.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#101 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#101 (text+ko) ====

@@ -4407,10 +4407,7 @@
 		device->tag_delay_count = 0;
 		device->tag_saved_openings = 0;
 		device->refcount = 1;
-		if (bus->sim->flags & CAM_SIM_MPSAFE)
-			callout_init_mtx(&device->callout, bus->sim->mtx, 0);
-		else
-			callout_init_mtx(&device->callout, &Giant, 0);
+		callout_init_mtx(&device->callout, bus->sim->mtx, 0);
 
 		/*
 		 * Hold a reference to our parent target so it



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