Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551017

[PATCH v2 1/4] timekeeping: export do_adjtimex() to modules

From Vitaly Kuznetsov <vkuznets@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/4] timekeeping: export do_adjtimex() to modules
Date 2017-01-04 18:40 +0100
Message-ID <sVXHB-7LF-63@gated-at.bofh.it> (permalink)
References <sVXHA-7LF-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


While do_adjtimex() is available to userspace via adjtimex syscall it is
not available to modules which may want to implement in-kernel 'NTP
clients'. Hyper-V hv_utils is going to be the first one.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
 kernel/time/timekeeping.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index da233cd..ae4f24f 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -2312,6 +2312,7 @@ int do_adjtimex(struct timex *txc)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(do_adjtimex);
 
 #ifdef CONFIG_NTP_PPS
 /**
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/4] timekeeping: export do_adjtimex() to modules Vitaly Kuznetsov <vkuznets@redhat.com> - 2017-01-04 18:40 +0100
  Re: [PATCH v2 1/4] timekeeping: export do_adjtimex() to modules John Stultz <john.stultz@linaro.org> - 2017-01-07 02:10 +0100
    Re: [PATCH v2 1/4] timekeeping: export do_adjtimex() to modules Vitaly Kuznetsov <vkuznets@redhat.com> - 2017-01-09 14:10 +0100

csiph-web