From: Al Viro <viro@ftp.linux.org.uk>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] missing exports of do_settimeofday() variants
Date: Sat, 29 Oct 2005 07:32:07 +0100 [thread overview]
Message-ID: <20051029063207.GE7992@ftp.linux.org.uk> (raw)
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)
{
reply other threads:[~2005-10-29 6:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051029063207.GE7992@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox