ntp: Remove ntp_lock, using the timekeeping locks to protect ntp state
authorJohn Stultz <john.stultz@linaro.org>
Fri, 22 Mar 2013 18:52:03 +0000 (11:52 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 4 Apr 2013 20:18:17 +0000 (13:18 -0700)
commita076b2146fabb0894cae5e0189a8ba3f1502d737
tree5cefb4526bf90d9ffb775596b38cc6c0b602f907
parent0b5154fb9040cca94e7d9893384c0e78bfe2d296
ntp: Remove ntp_lock, using the timekeeping locks to protect ntp state

In order to properly handle the NTP state in future changes to the
timekeeping lock management, this patch moves the management of
all of the ntp state under the timekeeping locks.

This allows us to remove the ntp_lock.

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/ntp.c