aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-11-05 11:10:01 +0100
committerArnd Bergmann <arnd@arndb.de>2019-11-15 14:38:28 +0100
commit21346564ccad17b928cf0d51584608531d91d298 (patch)
tree28a4de4d44b81f657974e2e89a4941a1187f6c0b /arch/x86/um
parenty2038: vdso: change timespec to __kernel_old_timespec (diff)
downloadlinux-dev-21346564ccad17b928cf0d51584608531d91d298.tar.xz
linux-dev-21346564ccad17b928cf0d51584608531d91d298.zip
y2038: vdso: change time_t to __kernel_old_time_t
Only x86 uses the 'time' syscall in vdso, so change that to __kernel_old_time_t as a preparation for removing 'time_t' and '__kernel_time_t' later. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/x86/um')
-rw-r--r--arch/x86/um/vdso/um_vdso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/vdso/um_vdso.c b/arch/x86/um/vdso/um_vdso.c
index 371724cf70da..2112b8d14668 100644
--- a/arch/x86/um/vdso/um_vdso.c
+++ b/arch/x86/um/vdso/um_vdso.c
@@ -37,7 +37,7 @@ int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
int gettimeofday(struct __kernel_old_timeval *, struct timezone *)
__attribute__((weak, alias("__vdso_gettimeofday")));
-time_t __vdso_time(time_t *t)
+__kernel_old_time_t __vdso_time(__kernel_old_time_t *t)
{
long secs;
@@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t)
return secs;
}
-time_t time(time_t *t) __attribute__((weak, alias("__vdso_time")));
+__kernel_old_time_t time(__kernel_old_time_t *t) __attribute__((weak, alias("__vdso_time")));
long
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)