Searched hist:bd40a175769d411b2a37e1c087082ac7ee2c15bb (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/time/ |
H A D | itimer.c | diff bd40a175769d411b2a37e1c087082ac7ee2c15bb Thu Nov 07 08:27:39 CST 2019 Arnd Bergmann <arnd@arndb.de> 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>
|
/openbmc/linux/include/trace/events/ |
H A D | timer.h | diff bd40a175769d411b2a37e1c087082ac7ee2c15bb Thu Nov 07 08:27:39 CST 2019 Arnd Bergmann <arnd@arndb.de> 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>
|