diff options
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index a73b0649..aaf1b626 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -1005,4 +1005,8 @@ void igt_kmsg(const char *format, ...); #define READ_ONCE(x) (*(volatile typeof(x) *)(&(x))) +#define MSEC_PER_SEC (1000) +#define USEC_PER_SEC (1000*MSEC_PER_SEC) +#define NSEC_PER_SEC (1000*USEC_PER_SEC) + #endif /* IGT_CORE_H */ |