hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/time64.h
....@@ -8,14 +8,6 @@
88 typedef __s64 time64_t;
99 typedef __u64 timeu64_t;
1010
11
-/* CONFIG_64BIT_TIME enables new 64 bit time_t syscalls in the compat path
12
- * and 32-bit emulation.
13
- */
14
-#ifndef CONFIG_64BIT_TIME
15
-#define __kernel_timespec timespec
16
-#define __kernel_itimerspec itimerspec
17
-#endif
18
-
1911 #include <uapi/linux/time.h>
2012
2113 struct timespec64 {
....@@ -30,6 +22,8 @@
3022
3123 /* Located here for timespec[64]_valid_strict */
3224 #define TIME64_MAX ((s64)~((u64)1 << 63))
25
+#define TIME64_MIN (-TIME64_MAX - 1)
26
+
3327 #define KTIME_MAX ((s64)~((u64)1 << 63))
3428 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
3529