[PATCH 2.6.21-rc5] kernel/time.c: add missing symbol exports

Thomas Bittermann
2007-04-04T20:21:06Z

From: Thomas Bittermann <t.bittermann@online.de>

This patch adds 2 missing symbol exports:

jiffies_to_timeval
timeval_to_jiffies

Signed-off-by: Thomas Bittermann <t.bittermann@online.de>
---
kernel/time.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6.21-rc5.fix/kernel/time.c
===================================================================
--- linux-2.6.21-rc5.orig/kernel/time.c 2007-04-04 21:39:02.000000000 +0200
+++ linux-2.6.21-rc5.fix/kernel/time.c 2007-04-04 21:39:14.000000000 +0200
@@ -635,6 +635,7 @@ timeval_to_jiffies(const struct timeval
(((u64)usec * USEC_CONVERSION + USEC_ROUND) >>
(USEC_JIFFIE_SC - SEC_JIFFIE_SC))) >> SEC_JIFFIE_SC;
}
+EXPORT_SYMBOL(timeval_to_jiffies);

void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value)
{
@@ -649,6 +650,7 @@ void jiffies_to_timeval(const unsigned l
tv_usec /= NSEC_PER_USEC;
value->tv_usec = tv_usec;
}
+EXPORT_SYMBOL(jiffies_to_timeval);

/*
* Convert jiffies/jiffies_64 to clock_t and back.