diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-07 17:27:39 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-11-15 16:38:30 +0300 |
commit | bd40a175769d411b2a37e1c087082ac7ee2c15bb (patch) | |
tree | 10ef420857e4df8bf36863bb3b399f8005b5531a /kernel/sys_ni.c | |
parent | ddbc7d0657e9fd38b69f16bd0310703367b52d29 (diff) | |
download | linux-bd40a175769d411b2a37e1c087082ac7ee2c15bb.tar.xz |
y2038: itimer: change implementation to timespec64
There is no 64-bit version of getitimer/setitimer since that is not
actually needed. However, the implementation is built around the
deprecated 'struct timeval' type.
Change the code to use timespec64 internally to reduce the dependencies
on timeval and associated helper functions.
Minor adjustments in the code are needed to make the native and compat
version work the same way, and to keep the range check working after
the conversion.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions