y2038: vdso: change timespec to __kernel_old_timespec
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Oct 2019 18:26:41 +0000 (19:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Nov 2019 13:38:28 +0000 (14:38 +0100)
commit82210fc778982d9386e266fa5f0b52cde5c2f0cf
tree7fe91384fb13bb7c1286d74bdde9191b2544a522
parentddccf40fe82b7ac7c44b186ec4b6d1d1bbc2cbff
y2038: vdso: change timespec to __kernel_old_timespec

In order to remove 'timespec' completely from the kernel, all
internal uses should be converted to a y2038-safe type, while
those that are only for compatibity with existing user space
should be marked appropriately.

Change vdso to use __kernel_old_timespec in order to avoid
the deprecated type and mark these interfaces as outdated.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/ia64/kernel/asm-offsets.c
arch/nds32/kernel/vdso/gettimeofday.c
arch/sparc/vdso/vclock_gettime.c
arch/x86/um/vdso/um_vdso.c