* [PATCH] missing exports of do_settimeofday() variants
@ 2005-10-29 6:32 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-10-29 6:32 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-29 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 6:32 [PATCH] missing exports of do_settimeofday() variants Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox