Skip to content
Commit 251ec1c1 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

y2038: sparc: remove use of struct timex



'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: default avatarArnd Bergmann <arnd@arndb.de>
parent 4f9fbd89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment