Skip to content
Commit 474b9c77 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

y2038: sched: Change sched_rr_get_interval to use __kernel_timespec



This is a preparation patch for converting sys_sched_rr_get_interval to
work with 64-bit time_t on 32-bit architectures. The 'interval' argument
is changed to struct __kernel_timespec, which will be redefined using
64-bit time_t in the future. The compat version of the system call in
turn is enabled for compilation with CONFIG_COMPAT_32BIT_TIME so
the individual 32-bit architectures can share the handling of the
traditional argument with 64-bit architectures providing it for their
compat mode.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4faea239
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment