[PATCH] include: update jiffies/{m,u}secs conversion functions
Clarify the human-time units to jiffies conversion functions by using the
constants in time.h. This makes many of the subsequent patches direct
copies of the current code.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/include/linux/time.h b/include/linux/time.h
index c10d4c2..36fb2ef 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -28,6 +28,8 @@
#ifdef __KERNEL__
/* Parameters used to convert the timespec values */
+#define MSEC_PER_SEC (1000L)
+
#ifndef USEC_PER_SEC
#define USEC_PER_SEC (1000000L)
#endif