[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200702211412.23388.eike-kernel@sf-tec.de>
Date: Wed, 21 Feb 2007 14:12:22 +0100
From: Rolf Eike Beer <eike-kernel@...tec.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
john stultz <johnstul@...ibm.com>,
Roman Zippel <zippel@...ux-m68k.org>,
Jeremy Fitzhardinge <jeremy@...p.org>
Subject: [PATCH] EXPORT_SYMBOL() time functions
These functions were inlines before 8b9365d753d9870bb6451504c13570b81923228f.
Now EXPORT_SYMBOL() them to allow them to be used in modules again.
Signed-off-by: Rolf Eike Beer <eike-kernel@...tec.de>
---
commit 0a543599f4a9ea02b587bda26e0e11ae94774f61
tree aa815eab413d2575925b0964a1fa01d41439b26b
parent 6b8afc66b9d6893d3fa292b75769b58539836ff3
author Rolf Eike Beer <eike-kernel@...tec.de> Wed, 21 Feb 2007 14:10:12 +0100
committer Rolf Eike Beer <eike-kernel@...tec.de> Wed, 21 Feb 2007 14:10:12 +0100
kernel/time.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kernel/time.c b/kernel/time.c
index c6c80ea..0b351b2 100644
--- a/kernel/time.c
+++ b/kernel/time.c
@@ -635,6 +635,7 @@ timeval_to_jiffies(const struct timeval *value)
(((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 long jiffies, struct timeval *value)
tv_usec /= NSEC_PER_USEC;
value->tv_usec = tv_usec;
}
+EXPORT_SYMBOL(jiffies_to_timeval);
/*
* Convert jiffies/jiffies_64 to clock_t and back.
@@ -723,6 +725,7 @@ u64 nsec_to_clock_t(u64 x)
#endif
return x;
}
+EXPORT_SYMBOL(nsec_to_clock_t);
#if (BITS_PER_LONG < 64)
u64 get_jiffies_64(void)
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists