aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 36fb2ef13cff..8e83f4e778bb 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -29,18 +29,9 @@ struct timezone {
29 29
30/* Parameters used to convert the timespec values */ 30/* Parameters used to convert the timespec values */
31#define MSEC_PER_SEC (1000L) 31#define MSEC_PER_SEC (1000L)
32
33#ifndef USEC_PER_SEC
34#define USEC_PER_SEC (1000000L) 32#define USEC_PER_SEC (1000000L)
35#endif
36
37#ifndef NSEC_PER_SEC
38#define NSEC_PER_SEC (1000000000L) 33#define NSEC_PER_SEC (1000000000L)
39#endif
40
41#ifndef NSEC_PER_USEC
42#define NSEC_PER_USEC (1000L) 34#define NSEC_PER_USEC (1000L)
43#endif
44 35
45static __inline__ int timespec_equal(struct timespec *a, struct timespec *b) 36static __inline__ int timespec_equal(struct timespec *a, struct timespec *b)
46{ 37{