From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:14:40 +0000 Subject: [PATCH] add REDIRECT --- kernel/include/vdso/time32.h | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/kernel/include/vdso/time32.h b/kernel/include/vdso/time32.h index 63fa969..fdf56f9 100644 --- a/kernel/include/vdso/time32.h +++ b/kernel/include/vdso/time32.h @@ -2,13 +2,16 @@ #ifndef __VDSO_TIME32_H #define __VDSO_TIME32_H -/* - * New aliases for compat time functions. These will be used to replace - * the compat code so it can be shared between 32-bit and 64-bit builds - * both of which provide compatibility with old 32-bit tasks. - */ -#define old_time32_t compat_time_t -#define old_timeval32 compat_timeval -#define old_timespec32 compat_timespec +typedef s32 old_time32_t; + +struct old_timespec32 { + old_time32_t tv_sec; + s32 tv_nsec; +}; + +struct old_timeval32 { + old_time32_t tv_sec; + s32 tv_usec; +}; #endif /* __VDSO_TIME32_H */ -- Gitblit v1.6.2