]> Pileus Git - ~andy/linux/commit
ntp: Move do_adjtimex() and hardpps() functions to timekeeping.c
authorJohn Stultz <john.stultz@linaro.org>
Fri, 22 Mar 2013 18:31:29 +0000 (11:31 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:14 +0000 (13:18 -0700)
commitaa6f9c595d857328e5d815e5b94c0e7cd31a6b59
treebee031555304488a68e9f4dc76944b8924f11e7b
parentad460967a2953496ad76b1c22091ea99f21b4e86
ntp: Move do_adjtimex() and hardpps() functions to timekeeping.c

In preparation for changing the ntp locking rules, move
do_adjtimex and hardpps accessor functions to timekeeping.c,
but keep the code logic in ntp.c.

This patch also introduces a ntp_internal.h file so timekeeping
specific interfaces of ntp.c can be more limitedly shared with
timekeeping.c.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/timex.h
kernel/time/ntp.c
kernel/time/ntp_internal.h [new file with mode: 0644]
kernel/time/timekeeping.c