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

From: Thomas Bittermann
Date: Wed Apr 04 2007 - 16:21:31 EST


From: Thomas Bittermann <t.bittermann@xxxxxxxxx>

This patch adds 2 missing symbol exports:

jiffies_to_timeval
timeval_to_jiffies

Signed-off-by: Thomas Bittermann <t.bittermann@xxxxxxxxx>
---
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/