svn commit: r199368 - stable/8/sys/cam
Alexander Motin
mav at FreeBSD.org
Tue Nov 17 13:04:05 UTC 2009
Author: mav
Date: Tue Nov 17 13:04:05 2009
New Revision: 199368
URL: http://svn.freebsd.org/changeset/base/199368
Log:
MFC r196901:
Remove unneeded CAM_SIM_MPSAFE check.
Modified:
stable/8/sys/cam/cam_xpt.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/netinet6/ (props changed)
Modified: stable/8/sys/cam/cam_xpt.c
==============================================================================
--- stable/8/sys/cam/cam_xpt.c Tue Nov 17 13:01:17 2009 (r199367)
+++ stable/8/sys/cam/cam_xpt.c Tue Nov 17 13:04:05 2009 (r199368)
@@ -4412,10 +4412,7 @@ xpt_alloc_device(struct cam_eb *bus, str
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 svn-src-stable-8
mailing list