Date: Mon, 27 Jan 2014 17:40:01 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-arm@FreeBSD.org Subject: Re: arm/186129: commit references a PR Message-ID: <201401271740.s0RHe1WA004828@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR arm/186129; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: arm/186129: commit references a PR Date: Mon, 27 Jan 2014 17:31:29 +0000 (UTC) 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) { _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401271740.s0RHe1WA004828>