]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/sched/core.c
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)
commit474b9c777b20b8340a6ee0f7ba6ebbd6a4bf47e2
treec78edf7a33f5d17bcdd5f6e6b1d249bbbf4cf9b7
parent4faea239e529d1d6b3b93fbf08d5e90427961a41
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