[PATCH] missing exports of do_settimeofday() variants
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Oct 2005 06:32:07 +0000 (07:32 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Oct 2005 17:35:07 +0000 (10:35 -0700)
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>
arch/frv/kernel/time.c
arch/sh64/kernel/time.c
kernel/time.c

index 8d6558b..f43b734 100644 (file)
@@ -221,6 +221,7 @@ int do_settimeofday(struct timespec *tv)
        clock_was_set();
        return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 /*
  * Scheduler clock - returns current time in nanosec units.
index f4a62a1..43e395a 100644 (file)
@@ -253,6 +253,7 @@ int do_settimeofday(struct timespec *tv)
 
        return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 static int set_rtc_time(unsigned long nowtime)
 {
index 40c2410..a3c2100 100644 (file)
@@ -532,6 +532,7 @@ int do_settimeofday (struct timespec *tv)
        clock_was_set();
        return 0;
 }
+EXPORT_SYMBOL(do_settimeofday);
 
 void do_gettimeofday (struct timeval *tv)
 {