summaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index c10d4c21c18..36fb2ef13cf 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -28,6 +28,8 @@ struct timezone {
#ifdef __KERNEL__
/* Parameters used to convert the timespec values */
+#define MSEC_PER_SEC (1000L)
+
#ifndef USEC_PER_SEC
#define USEC_PER_SEC (1000000L)
#endif