]> Pileus Git - ~andy/linux/commit
timekeeping: Hold timekeepering locks in do_adjtimex and hardpps
authorJohn Stultz <john.stultz@linaro.org>
Fri, 22 Mar 2013 18:37:28 +0000 (11:37 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:16 +0000 (13:18 -0700)
commit06c017fdd4dc48451a29ac37fc1db4a3f86b7f40
tree3629e95c779bbc388aab162ddaf3d8c37a8b8b48
parentcef90377fab488bd1f959efda178fb83250cf61d
timekeeping: Hold timekeepering locks in do_adjtimex and hardpps

In moving the NTP state to be protected by the timekeeping locks,
be sure to acquire the timekeeping locks prior to calling
ntp functions.

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>
kernel/time/timekeeping.c