• Arnd Bergmann's avatar
    y2038: sparc: remove use of struct timex · 251ec1c1
    Arnd Bergmann authored
    '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>
    251ec1c1
sys_sparc_64.c 17 KB