• John Stultz's avatar
    ntp: Move do_adjtimex() and hardpps() functions to timekeeping.c · aa6f9c59
    John Stultz authored
    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: default avatarJohn Stultz <john.stultz@linaro.org>
    aa6f9c59
ntp.c 24.3 KB