aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-10-29 02:32:07 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 13:35:07 -0400
commit943eae03143790c71cf42fe13529f1b74ceb0266 (patch)
tree64b815091689324d1124ccafd7ab80274033bd2f
parent9d86b7d37018c917837477dd4501d44bf8f3f98c (diff)
[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> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/frv/kernel/time.c1
-rw-r--r--arch/sh64/kernel/time.c1
-rw-r--r--kernel/time.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/frv/kernel/time.c b/arch/frv/kernel/time.c
index 8d6558b00e44..f43b734482e3 100644
--- a/arch/frv/kernel/time.c
+++ b/arch/frv/kernel/time.c
@@ -221,6 +221,7 @@ int do_settimeofday(struct timespec *tv)
221 clock_was_set(); 221 clock_was_set();
222 return 0; 222 return 0;
223} 223}
224EXPORT_SYMBOL(do_settimeofday);
224 225
225/* 226/*
226 * Scheduler clock - returns current time in nanosec units. 227 * Scheduler clock - returns current time in nanosec units.
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c
index f4a62a10053c..43e395a14f49 100644
--- a/arch/sh64/kernel/time.c
+++ b/arch/sh64/kernel/time.c
@@ -253,6 +253,7 @@ int do_settimeofday(struct timespec *tv)
253 253
254 return 0; 254 return 0;
255} 255}
256EXPORT_SYMBOL(do_settimeofday);
256 257
257static int set_rtc_time(unsigned long nowtime) 258static int set_rtc_time(unsigned long nowtime)
258{ 259{
diff --git a/kernel/time.c b/kernel/time.c
index 40c2410ac99a..a3c2100470e1 100644
--- a/kernel/time.c
+++ b/kernel/time.c
@@ -532,6 +532,7 @@ int do_settimeofday (struct timespec *tv)
532 clock_was_set(); 532 clock_was_set();
533 return 0; 533 return 0;
534} 534}
535EXPORT_SYMBOL(do_settimeofday);
535 536
536void do_gettimeofday (struct timeval *tv) 537void do_gettimeofday (struct timeval *tv)
537{ 538{