[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>
This commit is contained in:
Nishanth Aravamudan 2005-09-10 00:27:22 -07:00 committed by Linus Torvalds
parent 64ed93a268
commit 84f902c090
2 changed files with 22 additions and 20 deletions

View file

@ -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