Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 00:21:12 +0000 (UTC)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200620 - head/sys/dev/ips
Message-ID:  <200912170021.nBH0LCWU015295@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjacob
Date: Thu Dec 17 00:21:12 2009
New Revision: 200620
URL: http://svn.freebsd.org/changeset/base/200620

Log:
  Fix argument order in a call to mtx_init.
  
  MFC after:	1 week

Modified:
  head/sys/dev/ips/ips_pci.c

Modified: head/sys/dev/ips/ips_pci.c
==============================================================================
--- head/sys/dev/ips/ips_pci.c	Wed Dec 16 21:53:56 2009	(r200619)
+++ head/sys/dev/ips/ips_pci.c	Thu Dec 17 00:21:12 2009	(r200620)
@@ -154,7 +154,7 @@ static int ips_pci_attach(device_t dev)
         }
 	sc->ips_ich.ich_func = ips_intrhook;
 	sc->ips_ich.ich_arg = sc;
-	mtx_init(&sc->queue_mtx, "IPS bioqueue lock", MTX_DEF, 0);
+	mtx_init(&sc->queue_mtx, "IPS bioqueue lock", NULL, MTX_DEF);
 	sema_init(&sc->cmd_sema, 0, "IPS Command Semaphore");
 	bioq_init(&sc->queue);
 	if (config_intrhook_establish(&sc->ips_ich) != 0) {



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