summaryrefslogtreecommitdiffstats
path: root/kernel/time/ntp_internal.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-03-22 20:28:15 +0100
committerJohn Stultz <john.stultz@linaro.org>2013-04-04 22:18:15 +0200
commit87ace39b7168bd9d352c1c52b6f5d88eb1876cf8 (patch)
tree57f19306b0f2e9b99430f92a4ba9a7ac9454e2e0 /kernel/time/ntp_internal.h
parentntp: Move timex validation to timekeeping do_adjtimex call. (diff)
downloadlinux-87ace39b7168bd9d352c1c52b6f5d88eb1876cf8.tar.xz
linux-87ace39b7168bd9d352c1c52b6f5d88eb1876cf8.zip
ntp: Rework do_adjtimex to take timespec and tai arguments
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 <tglx@linutronix.de> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/ntp_internal.h')
-rw-r--r--kernel/time/ntp_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/ntp_internal.h b/kernel/time/ntp_internal.h
index a2a397659e46..1950cb4ca2a4 100644
--- a/kernel/time/ntp_internal.h
+++ b/kernel/time/ntp_internal.h
@@ -7,6 +7,6 @@ extern void ntp_clear(void);
extern u64 ntp_tick_length(void);
extern int second_overflow(unsigned long secs);
extern int ntp_validate_timex(struct timex *);
-extern int __do_adjtimex(struct timex *);
+extern int __do_adjtimex(struct timex *, struct timespec *, s32 *);
extern void __hardpps(const struct timespec *, const struct timespec *);
#endif /* _LINUX_NTP_INTERNAL_H */