svn commit: r262671 - stable/9/sys/dev/adb
Justin Hibbits
jrh29 at alumni.cwru.edu
Sun Mar 2 00:22:45 UTC 2014
Sorry. Forgot with 9 to MFC to sys/. Any way to correct this?
-Justin
On Mar 1, 2014 4:20 PM, "Justin Hibbits" <jhibbits at freebsd.org> wrote:
> Author: jhibbits
> Date: Sun Mar 2 00:20:00 2014
> New Revision: 262671
> URL: http://svnweb.freebsd.org/changeset/base/262671
>
> Log:
> MFC r261068
>
> Properly sort the arguments to mtx_init(9).
>
> PR: misc/186020
> Submitted by: alfred
>
> Modified:
> stable/9/sys/dev/adb/adb_kbd.c
> stable/9/sys/dev/adb/adb_mouse.c
> Directory Properties:
> stable/9/ (props changed)
> stable/9/sys/ (props changed)
> stable/9/sys/dev/ (props changed)
>
> Modified: stable/9/sys/dev/adb/adb_kbd.c
>
> ==============================================================================
> --- stable/9/sys/dev/adb/adb_kbd.c Sun Mar 2 00:14:57 2014
> (r262670)
> +++ stable/9/sys/dev/adb/adb_kbd.c Sun Mar 2 00:20:00 2014
> (r262671)
> @@ -304,7 +304,7 @@ adb_kbd_attach(device_t dev)
> /* Try stepping forward to the extended keyboard protocol */
> adb_set_device_handler(dev,3);
>
> - mtx_init(&sc->sc_mutex,KBD_DRIVER_NAME,MTX_DEF,0);
> + mtx_init(&sc->sc_mutex, KBD_DRIVER_NAME, NULL, MTX_DEF);
> cv_init(&sc->sc_cv,KBD_DRIVER_NAME);
> callout_init(&sc->sc_repeater, 0);
>
>
> Modified: stable/9/sys/dev/adb/adb_mouse.c
>
> ==============================================================================
> --- stable/9/sys/dev/adb/adb_mouse.c Sun Mar 2 00:14:57 2014
> (r262670)
> +++ stable/9/sys/dev/adb/adb_mouse.c Sun Mar 2 00:20:00 2014
> (r262671)
> @@ -154,7 +154,7 @@ adb_mouse_attach(device_t dev)
> sc = device_get_softc(dev);
> sc->sc_dev = dev;
>
> - mtx_init(&sc->sc_mtx,"ams",MTX_DEF,0);
> + mtx_init(&sc->sc_mtx, "ams", NULL, MTX_DEF);
> cv_init(&sc->sc_cv,"ams");
>
> sc->flags = 0;
>
>
More information about the svn-src-all
mailing list