diff options
Diffstat (limited to 'kernel/time.c')
-rw-r--r-- | kernel/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time.c b/kernel/time.c index c6c80ea5d0ea..2f47888e46c9 100644 --- a/kernel/time.c +++ b/kernel/time.c | |||
@@ -635,6 +635,7 @@ timeval_to_jiffies(const struct timeval *value) | |||
635 | (((u64)usec * USEC_CONVERSION + USEC_ROUND) >> | 635 | (((u64)usec * USEC_CONVERSION + USEC_ROUND) >> |
636 | (USEC_JIFFIE_SC - SEC_JIFFIE_SC))) >> SEC_JIFFIE_SC; | 636 | (USEC_JIFFIE_SC - SEC_JIFFIE_SC))) >> SEC_JIFFIE_SC; |
637 | } | 637 | } |
638 | EXPORT_SYMBOL(timeval_to_jiffies); | ||
638 | 639 | ||
639 | void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) | 640 | void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) |
640 | { | 641 | { |
@@ -649,6 +650,7 @@ void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) | |||
649 | tv_usec /= NSEC_PER_USEC; | 650 | tv_usec /= NSEC_PER_USEC; |
650 | value->tv_usec = tv_usec; | 651 | value->tv_usec = tv_usec; |
651 | } | 652 | } |
653 | EXPORT_SYMBOL(jiffies_to_timeval); | ||
652 | 654 | ||
653 | /* | 655 | /* |
654 | * Convert jiffies/jiffies_64 to clock_t and back. | 656 | * Convert jiffies/jiffies_64 to clock_t and back. |