svn commit: r333267 - head/sys/kern

Steven Hartland steven.hartland at multiplay.co.uk
Fri May 4 22:58:42 UTC 2018


Again why?

On Fri, 4 May 2018 at 23:48, Mateusz Guzik <mjg at freebsd.org> wrote:

> Author: mjg
> Date: Fri May  4 22:48:10 2018
> New Revision: 333267
> URL: https://svnweb.freebsd.org/changeset/base/333267
>
> Log:
>   tc: bcopy -> memcpy
>
> Modified:
>   head/sys/kern/kern_tc.c
>
> Modified: head/sys/kern/kern_tc.c
>
> ==============================================================================
> --- head/sys/kern/kern_tc.c     Fri May  4 22:41:12 2018        (r333266)
> +++ head/sys/kern/kern_tc.c     Fri May  4 22:48:10 2018        (r333267)
> @@ -1352,7 +1352,7 @@ tc_windup(struct bintime *new_boottimebin)
>         ogen = th->th_generation;
>         th->th_generation = 0;
>         atomic_thread_fence_rel();
> -       bcopy(tho, th, offsetof(struct timehands, th_generation));
> +       memcpy(th, tho, offsetof(struct timehands, th_generation));
>         if (new_boottimebin != NULL)
>                 th->th_boottime = *new_boottimebin;
>
>
>


More information about the svn-src-all mailing list