Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 00:51:13 GMT
From:      Scott Long <scottl@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114082 for review
Message-ID:  <200702060051.l160pDvm002190@repoman.freebsd.org>

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

Change 114082 by scottl@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;



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