Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 17:31:22 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261211 - head/sys/arm/ti
Message-ID:  <201401271731.s0RHVM1d015495@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Mon Jan 27 17:31:21 2014
New Revision: 261211
URL: http://svnweb.freebsd.org/changeset/base/261211

Log:
  fix args to mtx_init
  
  Note that this commit hasn't been compile tested because these files
  are not hooked up to the build...
  
  PR:		186129
  Submitted by:	Takanori Sawada
  Approved by:	rpaulo

Modified:
  head/sys/arm/ti/ti_mbox.c
  head/sys/arm/ti/ti_pruss.c

Modified: head/sys/arm/ti/ti_mbox.c
==============================================================================
--- head/sys/arm/ti/ti_mbox.c	Mon Jan 27 13:28:55 2014	(r261210)
+++ head/sys/arm/ti/ti_mbox.c	Mon Jan 27 17:31:21 2014	(r261211)
@@ -140,7 +140,7 @@ ti_mbox_attach(device_t dev)
 	}
 	sc = device_get_softc(dev);
 	rid = 0;
-	mtx_init(&sc->sc_mtx, "TI mbox", MTX_DEF, 0);
+	mtx_init(&sc->sc_mtx, "TI mbox", NULL, MTX_DEF);
 	sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
 	    RF_ACTIVE);
 	if (sc->sc_mem_res == NULL) {

Modified: head/sys/arm/ti/ti_pruss.c
==============================================================================
--- head/sys/arm/ti/ti_pruss.c	Mon Jan 27 13:28:55 2014	(r261210)
+++ head/sys/arm/ti/ti_pruss.c	Mon Jan 27 17:31:21 2014	(r261211)
@@ -166,7 +166,7 @@ ti_pruss_attach(device_t dev)
 	}
 	sc = device_get_softc(dev);
 	rid = 0;
-	mtx_init(&sc->sc_mtx, "TI PRUSS", MTX_DEF, 0);
+	mtx_init(&sc->sc_mtx, "TI PRUSS", NULL, MTX_DEF);
 	sc->sc_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
 	    RF_ACTIVE);
 	if (sc->sc_mem_res == NULL) {



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