svn commit: r200620 - head/sys/dev/ips
Matt Jacob
mjacob at FreeBSD.org
Thu Dec 17 00:21:12 UTC 2009
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) {
More information about the svn-src-head
mailing list