PERFORCE change 114082 for review

Scott Long scottl at FreeBSD.org
Tue Feb 6 00:51:32 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114082

Change 114082 by scottl at scottl-x64 on 2007/02/06 00:51:12

	Remove the malloc_flags argument from cam_sim_alloc()

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/advansys/adwcam.c#9 edit
.. //depot/projects/scottl-camlock/src/sys/pci/ncr.c#10 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/advansys/adwcam.c#9 (text+ko) ====

@@ -1234,7 +1234,7 @@
 	 * Construct our SIM entry.
 	 */
 	adw->sim = cam_sim_alloc(adw_action, adw_poll, "adw", adw, adw->unit,
-				 &Giant, M_NOWAIT, 1, adw->max_acbs, devq);
+				 &Giant, 1, adw->max_acbs, devq);
 	if (adw->sim == NULL) {
 		error = ENOMEM;
 		goto fail;

==== //depot/projects/scottl-camlock/src/sys/pci/ncr.c#10 (text+ko) ====

@@ -3783,7 +3783,7 @@
 	**	about our bus.
 	*/
 	np->sim = cam_sim_alloc(ncr_action, ncr_poll, "ncr", np, np->unit,
-				&Giant, M_NOWAIT, 1, MAX_TAGS, devq);
+				&Giant, 1, MAX_TAGS, devq);
 	if (np->sim == NULL) {
 		cam_simq_free(devq);
 		return ENOMEM;


More information about the p4-projects mailing list