u64 check_and_remedy_timestamp(time_t __this_year_timestamp)
{
u64 __precise_timestamp = __this_year_timestamp;
#ifdef CONFIG_2038_REMEDY
if (__this_year_timestamp <= str_to_timestamp("1980/12/31"))
{
__precise_timestamp = do_some_timestamp_remedy(__this_year_timestamp);
}
return __precise_time;
#endif /* CONFIG_2038_REMEDY */
return __precise_time;
}
struct timespec {
__kernel_time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};
struct timespec64 {
time64_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};