Re: [PATCH v2] y2038: sparc: remove use of struct timex

From: Thomas Gleixner
Date: Wed Jan 08 2020 - 10:34:41 EST


Arnd Bergmann <arnd@xxxxxxxx> writes:

> 'struct timex' is one of the last users of 'struct timeval' and is
> only referenced in one place in the kernel any more, to convert the
> user space timex into the kernel-internal version on sparc64, with a
> different tv_usec member type.
>
> As a preparation for hiding the time_t definition and everything
> using that in the kernel, change the implementation once more
> to only convert the timeval member, and then enclose the
> struct definition in an #ifdef.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>