PERFORCE change 168244 for review
Alexander Motin
mav at FreeBSD.org
Sun Sep 6 16:26:32 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=168244
Change 168244 by mav at 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
More information about the p4-projects
mailing list