]> git.baikalelectronics.ru Git - kernel.git/commit
y2038: sched: Change sched_rr_get_interval to use __kernel_timespec
authorArnd Bergmann <arnd@arndb.de>
Tue, 17 Apr 2018 19:59:47 +0000 (21:59 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 29 Aug 2018 13:42:24 +0000 (15:42 +0200)
commitab0d710995ddc6cbb97b3fb18ea3dac3aa7b0fe9
treec78edf7a33f5d17bcdd5f6e6b1d249bbbf4cf9b7
parent7c13a14a99e8cf405d083104b8c3b3641dacec44
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: Arnd Bergmann <arnd@arndb.de>
include/linux/syscalls.h
kernel/sched/core.c