diff options
Diffstat (limited to 'include/vdso/time64.h')
-rw-r--r-- | include/vdso/time64.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/vdso/time64.h b/include/vdso/time64.h new file mode 100644 index 0000000000..b40cfa2aa3 --- /dev/null +++ b/include/vdso/time64.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __VDSO_TIME64_H +#define __VDSO_TIME64_H + +/* Parameters used to convert the timespec values: */ +#define MSEC_PER_SEC 1000L +#define USEC_PER_MSEC 1000L +#define NSEC_PER_USEC 1000L +#define NSEC_PER_MSEC 1000000L +#define USEC_PER_SEC 1000000L +#define NSEC_PER_SEC 1000000000L +#define PSEC_PER_SEC 1000000000000LL +#define FSEC_PER_SEC 1000000000000000LL + +#endif /* __VDSO_TIME64_H */ |