lkml.org 
[lkml]   [2005]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSat, 29 Oct 2005 07:32:07 +0100
FromAl Viro <>
Subject[PATCH] missing exports of do_settimeofday() variants
	frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported
(the last two are using variant in kernel/time.c).  Exports added to match
the rest of architectures.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
NOTE: since the rest of exports are normal ones, no _GPL() lossage here.

diff -urN RC14-base/arch/frv/kernel/time.c current/arch/frv/kernel/time.c
--- RC14-base/arch/frv/kernel/time.c	2005-10-28 16:42:39.000000000 -0400
+++ current/arch/frv/kernel/time.c	2005-10-29 02:28:46.000000000 -0400
@@ -221,6 +221,7 @@
 	clock_was_set();
 	return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 /*
  * Scheduler clock - returns current time in nanosec units.
diff -urN RC14-base/arch/sh64/kernel/time.c current/arch/sh64/kernel/time.c
--- RC14-base/arch/sh64/kernel/time.c	2005-10-28 16:42:40.000000000 -0400
+++ current/arch/sh64/kernel/time.c	2005-10-29 02:28:03.000000000 -0400
@@ -253,6 +253,7 @@
 
 	return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 static int set_rtc_time(unsigned long nowtime)
 {
diff -urN RC14-base/kernel/time.c current/kernel/time.c
--- RC14-base/kernel/time.c	2005-10-28 16:42:49.000000000 -0400
+++ current/kernel/time.c	2005-10-29 02:28:11.000000000 -0400
@@ -532,6 +532,7 @@
 	clock_was_set();
 	return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 void do_gettimeofday (struct timeval *tv)
 {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-10-29 04:37    [W:0.450 / U:0.050 seconds]
©2003-2008 Jasper Spaans