aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time.c
diff options
context:
space:
mode:
authorThomas Bittermann <t.bittermann@online.de>2007-04-04 16:20:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-04 20:35:53 -0400
commit456a09dce9ca9b0013cabcda918aee851a04471d (patch)
tree977fe0bee8b0300ce8e73026945fb4dc2b97963c /kernel/time.c
parent8d00647f2cf0780497274a4b0ab0e66509579459 (diff)
[PATCH] kernel/time.c: add missing symbol exports
This patch adds 2 missing symbol exports: jiffies_to_timeval() and timeval_to_jiffies(). The (not yet merged) dm-raid4-5 module will need them, and they used to be indirectly exported by virtue of being inline functions. Commit 8b9365d753d9870bb6451504c13570b81923228f ("[PATCH] Uninline jiffies.h functions") uninlined them, and thus modules now need them explicitly exported to use them. Signed-off-by: Thomas Bittermann <t.bittermann@online.de> Acked-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Ingo Molnar <mingo@elte.hu> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: john stultz <johnstul@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/time.c')
-rw-r--r--kernel/time.c2
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}
638EXPORT_SYMBOL(timeval_to_jiffies);
638 639
639void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) 640void 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}
653EXPORT_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.