Vincenzo Frascino | b72a9c5 | 2020-03-20 14:53:37 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __VDSO_TIME64_H |
| 3 | #define __VDSO_TIME64_H |
| 4 | |
| 5 | /* Parameters used to convert the timespec values: */ |
| 6 | #define MSEC_PER_SEC 1000L |
| 7 | #define USEC_PER_MSEC 1000L |
| 8 | #define NSEC_PER_USEC 1000L |
| 9 | #define NSEC_PER_MSEC 1000000L |
| 10 | #define USEC_PER_SEC 1000000L |
| 11 | #define NSEC_PER_SEC 1000000000L |
Andy Shevchenko | a460513 | 2021-04-06 13:22:51 +0300 | [diff] [blame] | 12 | #define PSEC_PER_SEC 1000000000000LL |
Vincenzo Frascino | b72a9c5 | 2020-03-20 14:53:37 +0000 | [diff] [blame] | 13 | #define FSEC_PER_SEC 1000000000000000LL |
| 14 | |
| 15 | #endif /* __VDSO_TIME64_H */ |