05 Apr, 2013
3 commits
-
In order to change the locking rules, we need to provide
the timespec and tai values rather then having the ntp
logic acquire these values itself.Cc: Thomas Gleixner
Cc: Richard Cochran
Cc: Prarit Bhargava
Signed-off-by: John Stultz -
Move logic that does not need the ntp state to be done
in the timekeeping do_adjtimex() call.Cc: Thomas Gleixner
Cc: Richard Cochran
Cc: Prarit Bhargava
Signed-off-by: John Stultz -
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
Cc: Richard Cochran
Cc: Prarit Bhargava
Signed-off-by: John Stultz