summaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:43:03 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:43:03 +0100
commit7c2517c2444fdd5c2eceee330a03ff15d12602ca (patch)
tree1770d5217d689f0513bb1534c7e4dfbf114800fc /include/linux/time.h
parentcbc25b2b8488452085d3195dfc7164b00a265364 (diff)
parent0473048c4fa5410b0c4a75f667f7b317e44c15df (diff)
downloadbarebox-7c2517c2444fdd5c2eceee330a03ff15d12602ca.tar.gz
barebox-7c2517c2444fdd5c2eceee330a03ff15d12602ca.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 3a1bb50020..7903139a65 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -3,7 +3,13 @@
#include <linux/types.h>
+#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 FSEC_PER_SEC 1000000000000000LL
struct timespec {
time_t tv_sec; /* seconds */