blob: b40cfa2aa33c8dea1aa431cdf7af97ab45b7f9fb [file] [log] [blame]
Vincenzo Frascinob72a9c52020-03-20 14:53:37 +00001/* 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 Shevchenkoa4605132021-04-06 13:22:51 +030012#define PSEC_PER_SEC 1000000000000LL
Vincenzo Frascinob72a9c52020-03-20 14:53:37 +000013#define FSEC_PER_SEC 1000000000000000LL
14
15#endif /* __VDSO_TIME64_H */