| .. | .. |
|---|
| 8 | 8 | typedef __s64 time64_t; |
|---|
| 9 | 9 | typedef __u64 timeu64_t; |
|---|
| 10 | 10 | |
|---|
| 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 | | - |
|---|
| 19 | 11 | #include <uapi/linux/time.h> |
|---|
| 20 | 12 | |
|---|
| 21 | 13 | struct timespec64 { |
|---|
| .. | .. |
|---|
| 30 | 22 | |
|---|
| 31 | 23 | /* Located here for timespec[64]_valid_strict */ |
|---|
| 32 | 24 | #define TIME64_MAX ((s64)~((u64)1 << 63)) |
|---|
| 25 | +#define TIME64_MIN (-TIME64_MAX - 1) |
|---|
| 26 | + |
|---|
| 33 | 27 | #define KTIME_MAX ((s64)~((u64)1 << 63)) |
|---|
| 34 | 28 | #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) |
|---|
| 35 | 29 | |
|---|